diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 1d301ba2da510..a9937cf5da7f0 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,15 +1,5 @@ parameters: ignoreErrors: - - - message: ''' - #^Parameter \$input of method Joomla\\Component\\Actionlogs\\Administrator\\Controller\\ActionlogsController\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: administrator/components/com_actionlogs/src/Controller/ActionlogsController.php - - message: ''' #^Call to deprecated method getLanguage\(\) of class Joomla\\CMS\\Factory\: @@ -57,17 +47,6 @@ parameters: count: 1 path: administrator/components/com_actionlogs/src/Helper/ActionlogsHelper.php - - - message: ''' - #^Parameter \$object of method Joomla\\Component\\Actionlogs\\Administrator\\Helper\\ActionlogsHelper\:\:getContentTypeLink\(\) has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: administrator/components/com_actionlogs/src/Helper/ActionlogsHelper.php - - message: ''' #^Call to deprecated method getUser\(\) of class Joomla\\CMS\\Factory\: @@ -171,15 +150,6 @@ parameters: count: 1 path: administrator/components/com_admin/postinstall/languageaccess340.php - - - message: ''' - #^Call to deprecated method fixFilesystemPermissions\(\) of class JoomlaInstallerScript\: - 5\.2\.2 will be removed in 6\.0 without replacement$# - ''' - identifier: method.deprecated - count: 1 - path: administrator/components/com_admin/script.php - - message: ''' #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: @@ -189,7 +159,7 @@ parameters: Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated - count: 9 + count: 6 path: administrator/components/com_admin/script.php - @@ -203,17 +173,6 @@ parameters: count: 2 path: administrator/components/com_admin/script.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: administrator/components/com_admin/script.php - - message: ''' #^Call to deprecated method getLanguage\(\) of class Joomla\\CMS\\Factory\: @@ -292,17 +251,6 @@ parameters: count: 3 path: administrator/components/com_associations/src/Helper/AssociationsHelper.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: administrator/components/com_associations/src/Model/AssociationsModel.php - - message: ''' #^Call to deprecated method getErrors\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -507,14 +455,14 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\MVC\\Model\\BaseDatabaseModel\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use getDatabase\(\) instead + Example\: \$model\-\>getDatabase\(\);$# ''' - identifier: staticMethod.deprecated + identifier: method.deprecated count: 1 - path: administrator/components/com_banners/src/Helper/BannersHelper.php + path: administrator/components/com_banners/src/Model/BannerModel.php - message: ''' @@ -535,18 +483,7 @@ parameters: Catch thrown Exceptions instead of getError$# ''' identifier: method.deprecated - count: 2 - path: administrator/components/com_banners/src/Model/BannerModel.php - - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 + count: 3 path: administrator/components/com_banners/src/Model/BannerModel.php - @@ -562,12 +499,23 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\MVC\\Model\\BaseDatabaseModel\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use getDatabase\(\) instead + Example\: \$model\-\>getDatabase\(\);$# ''' - identifier: staticMethod.deprecated + identifier: method.deprecated + count: 1 + path: administrator/components/com_banners/src/Model/ClientModel.php + + - + message: ''' + #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: + 3\.1\.4 will be removed in 7\.0 + Will be removed without replacement + Catch thrown Exceptions instead of getError$# + ''' + identifier: method.deprecated count: 1 path: administrator/components/com_banners/src/Model/ClientModel.php @@ -784,20 +732,11 @@ parameters: - message: ''' - #^Call to deprecated method addIncludePath\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Should not be used anymore as tables are loaded through the MvcFactory$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: administrator/components/com_categories/src/Controller/AjaxController.php - - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the database service in the DI container + Example\: + Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -846,18 +785,7 @@ parameters: Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated - count: 1 - path: administrator/components/com_categories/src/Helper/CategoriesHelper.php - - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 + count: 2 path: administrator/components/com_categories/src/Helper/CategoriesHelper.php - @@ -872,17 +800,6 @@ parameters: count: 1 path: administrator/components/com_categories/src/Helper/CategoriesHelper.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: administrator/components/com_categories/src/Model/CategoriesModel.php - - message: ''' #^Call to deprecated method register\(\) of class JLoader\: @@ -896,11 +813,13 @@ parameters: - message: ''' - #^Call to deprecated method cleanCache\(\) of class Joomla\\Component\\Categories\\Administrator\\Model\\CategoryModel\: - 4\.3 will be removed in 6\.0$# + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\MVC\\Model\\BaseDatabaseModel\: + 4\.3 will be removed in 6\.0 + Use getDatabase\(\) instead + Example\: \$model\-\>getDatabase\(\);$# ''' identifier: method.deprecated - count: 3 + count: 1 path: administrator/components/com_categories/src/Model/CategoryModel.php - @@ -911,18 +830,7 @@ parameters: Catch thrown Exceptions instead of getError$# ''' identifier: method.deprecated - count: 18 - path: administrator/components/com_categories/src/Model/CategoryModel.php - - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 + count: 19 path: administrator/components/com_categories/src/Model/CategoryModel.php - @@ -1141,13 +1049,13 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: + 3\.1\.4 will be removed in 7\.0 + Will be removed without replacement + Catch thrown Exceptions instead of getError$# ''' - identifier: staticMethod.deprecated - count: 4 + identifier: method.deprecated + count: 2 path: administrator/components/com_config/src/Model/ApplicationModel.php - @@ -1167,13 +1075,13 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: + 3\.1\.4 will be removed in 7\.0 + Will be removed without replacement + Catch thrown Exceptions instead of getError$# ''' - identifier: staticMethod.deprecated - count: 3 + identifier: method.deprecated + count: 5 path: administrator/components/com_config/src/Model/ComponentModel.php - @@ -1339,10 +1247,11 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the database service in the DI container + Example\: + Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated count: 2 @@ -1350,10 +1259,10 @@ parameters: - message: ''' - #^Call to deprecated method getError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: - 3\.1\.4 will be removed in 7\.0 - Will be removed without replacement - Catch thrown Exceptions instead of getError$# + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\MVC\\Model\\BaseDatabaseModel\: + 4\.3 will be removed in 6\.0 + Use getDatabase\(\) instead + Example\: \$model\-\>getDatabase\(\);$# ''' identifier: method.deprecated count: 1 @@ -1361,7 +1270,7 @@ parameters: - message: ''' - #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: + #^Call to deprecated method getError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: 3\.1\.4 will be removed in 7\.0 Will be removed without replacement Catch thrown Exceptions instead of getError$# @@ -1372,13 +1281,13 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: + 3\.1\.4 will be removed in 7\.0 + Will be removed without replacement + Catch thrown Exceptions instead of getError$# ''' - identifier: staticMethod.deprecated - count: 1 + identifier: method.deprecated + count: 2 path: administrator/components/com_contact/src/Model/ContactModel.php - @@ -1392,17 +1301,6 @@ parameters: count: 7 path: administrator/components/com_contact/src/Model/ContactModel.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: administrator/components/com_contact/src/Model/ContactsModel.php - - message: ''' #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: @@ -1492,10 +1390,11 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the database service in the DI container + Example\: + Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -1534,17 +1433,6 @@ parameters: count: 1 path: administrator/components/com_content/src/Controller/ArticlesController.php - - - message: ''' - #^Call to deprecated method getError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: - 3\.1\.4 will be removed in 7\.0 - Will be removed without replacement - Catch thrown Exceptions instead of getError$# - ''' - identifier: method.deprecated - count: 1 - path: administrator/components/com_content/src/Controller/FeaturedController.php - - message: ''' #^Call to deprecated method getLanguage\(\) of class Joomla\\CMS\\Factory\: @@ -1568,10 +1456,11 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the database service in the DI container + Example\: + Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated count: 2 @@ -1603,11 +1492,13 @@ parameters: - message: ''' - #^Call to deprecated method cleanCache\(\) of class Joomla\\Component\\Content\\Administrator\\Model\\ArticleModel\: - 4\.3 will be removed in 6\.0$# + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\MVC\\Model\\BaseDatabaseModel\: + 4\.3 will be removed in 6\.0 + Use getDatabase\(\) instead + Example\: \$model\-\>getDatabase\(\);$# ''' identifier: method.deprecated - count: 2 + count: 1 path: administrator/components/com_content/src/Model/ArticleModel.php - @@ -1629,18 +1520,7 @@ parameters: Catch thrown Exceptions instead of getError$# ''' identifier: method.deprecated - count: 3 - path: administrator/components/com_content/src/Model/ArticleModel.php - - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 + count: 4 path: administrator/components/com_content/src/Model/ArticleModel.php - @@ -1683,17 +1563,6 @@ parameters: count: 1 path: administrator/components/com_content/src/Model/ArticleModel.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: administrator/components/com_content/src/Model/ArticlesModel.php - - message: ''' #^Call to deprecated method getLanguage\(\) of class Joomla\\CMS\\Factory\: @@ -1761,29 +1630,6 @@ parameters: count: 1 path: administrator/components/com_content/src/View/Articles/HtmlView.php - - - message: '#^Access to an undefined property Joomla\\Component\\Content\\Administrator\\View\\Featured\\HtmlView\:\:\$hits\.$#' - identifier: property.notFound - count: 1 - path: administrator/components/com_content/src/View/Featured/HtmlView.php - - - - message: '#^Access to an undefined property Joomla\\Component\\Content\\Administrator\\View\\Featured\\HtmlView\:\:\$vote\.$#' - identifier: property.notFound - count: 1 - path: administrator/components/com_content/src/View/Featured/HtmlView.php - - - - message: ''' - #^Call to deprecated method getErrors\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: - 3\.1\.4 will be removed in 7\.0 - Will be removed without replacement - Catch thrown Exceptions instead of getErrors$# - ''' - identifier: method.deprecated - count: 1 - path: administrator/components/com_content/src/View/Featured/HtmlView.php - - message: '#^Access to an undefined property Joomla\\Component\\Content\\Administrator\\View\\Article\\HtmlView\:\:\$configFieldsets\.$#' identifier: property.notFound @@ -1802,18 +1648,6 @@ parameters: count: 1 path: administrator/components/com_content/tmpl/article/edit.php - - - message: '#^Access to an undefined property Joomla\\Component\\Content\\Administrator\\View\\Featured\\HtmlView\:\:\$hits\.$#' - identifier: property.notFound - count: 1 - path: administrator/components/com_content/tmpl/featured/default.php - - - - message: '#^Access to an undefined property Joomla\\Component\\Content\\Administrator\\View\\Featured\\HtmlView\:\:\$vote\.$#' - identifier: property.notFound - count: 1 - path: administrator/components/com_content/tmpl/featured/default.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -1834,18 +1668,7 @@ parameters: Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated - count: 1 - path: administrator/components/com_contenthistory/src/Helper/ContenthistoryHelper.php - - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 + count: 2 path: administrator/components/com_contenthistory/src/Helper/ContenthistoryHelper.php - @@ -1864,8 +1687,9 @@ parameters: message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the MvcFactory instead or instantiate the table class directly\. + Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\); + \$table \= new \\Joomla\\CMS\\Table\\Content\(\$db\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -1918,8 +1742,9 @@ parameters: message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the MvcFactory instead or instantiate the table class directly\. + Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\); + \$table \= new \\Joomla\\CMS\\Table\\Content\(\$db\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -1940,8 +1765,9 @@ parameters: message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the MvcFactory instead or instantiate the table class directly\. + Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\); + \$table \= new \\Joomla\\CMS\\Table\\Content\(\$db\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -2040,15 +1866,6 @@ parameters: count: 1 path: administrator/components/com_fields/src/Helper/FieldsHelper.php - - - message: ''' - #^Call to deprecated method cleanCache\(\) of class Joomla\\Component\\Fields\\Administrator\\Model\\FieldModel\: - 4\.3 will be removed in 6\.0$# - ''' - identifier: method.deprecated - count: 2 - path: administrator/components/com_fields/src/Model/FieldModel.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -2290,7 +2107,7 @@ parameters: - message: ''' #^Parameter \$data of method Joomla\\Component\\Finder\\Administrator\\Controller\\IndexerController\:\:sendResponse\(\) has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 + 4\.0 will be removed in 7\.0 Use \\stdClass or \\Joomla\\Registry\\Registry instead\. Example\: new \\Joomla\\Registry\\Registry\(\);$# ''' @@ -2377,18 +2194,7 @@ parameters: Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated - count: 2 - path: administrator/components/com_finder/src/Indexer/Helper.php - - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 + count: 3 path: administrator/components/com_finder/src/Indexer/Helper.php - @@ -2425,38 +2231,6 @@ parameters: count: 2 path: administrator/components/com_finder/src/Indexer/Indexer.php - - - message: ''' - #^Casting class Joomla\\CMS\\Object\\CMSObject to string is deprecated\.\: - 4\.3 will be removed in 6\.0 - Classes should provide their own __toString\(\) implementation\.$# - ''' - identifier: class.toStringDeprecated - count: 1 - path: administrator/components/com_finder/src/Indexer/Indexer.php - - - - message: ''' - #^Parameter \$data of method Joomla\\Component\\Finder\\Administrator\\Indexer\\Indexer\:\:setState\(\) has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: administrator/components/com_finder/src/Indexer/Indexer.php - - - - message: ''' - #^Return type of method Joomla\\Component\\Finder\\Administrator\\Indexer\\Indexer\:\:getState\(\) has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: return.deprecatedClass - count: 1 - path: administrator/components/com_finder/src/Indexer/Indexer.php - - message: ''' #^Call to deprecated method getUser\(\) of class Joomla\\CMS\\Factory\: @@ -2495,7 +2269,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -2647,28 +2421,6 @@ parameters: count: 1 path: administrator/components/com_finder/src/Model/StatisticsModel.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 1 - path: administrator/components/com_finder/src/Model/StatisticsModel.php - - - - message: ''' - #^Return type of method Joomla\\Component\\Finder\\Administrator\\Model\\StatisticsModel\:\:getData\(\) has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: return.deprecatedClass - count: 1 - path: administrator/components/com_finder/src/Model/StatisticsModel.php - - message: ''' #^Call to deprecated method getCache\(\) of class Joomla\\CMS\\Factory\: @@ -2755,7 +2507,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -2918,7 +2670,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -2947,17 +2699,6 @@ parameters: count: 2 path: administrator/components/com_guidedtours/src/Model/TourModel.php - - - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: classConstant.deprecatedClass - count: 1 - path: administrator/components/com_guidedtours/src/Model/TourModel.php - - message: ''' #^Call to deprecated method getUser\(\) of class Joomla\\CMS\\Factory\: @@ -3138,16 +2879,6 @@ parameters: count: 1 path: administrator/components/com_installer/src/Controller/UpdatesitesController.php - - - message: ''' - #^Call to deprecated method get\(\) of class Joomla\\CMS\\Object\\CMSObject\: - 4\.3\.0 will be removed in 6\.0 - Create a proper getter function for the property$# - ''' - identifier: method.deprecated - count: 7 - path: administrator/components/com_installer/src/Helper/InstallerHelper.php - - message: ''' #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: @@ -3160,50 +2891,6 @@ parameters: count: 4 path: administrator/components/com_installer/src/Helper/InstallerHelper.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 2 - path: administrator/components/com_installer/src/Helper/InstallerHelper.php - - - - message: ''' - #^Parameter \$extension of anonymous function has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: parameter.deprecatedClass - count: 4 - path: administrator/components/com_installer/src/Helper/InstallerHelper.php - - - - message: ''' - #^Parameter \$extension of method Joomla\\Component\\Installer\\Administrator\\Helper\\InstallerHelper\:\:getDownloadKey\(\) has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: administrator/components/com_installer/src/Helper/InstallerHelper.php - - - - message: ''' - #^Return type of method Joomla\\Component\\Installer\\Administrator\\Helper\\InstallerHelper\:\:getUpdateSitesInformation\(\) has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: return.deprecatedClass - count: 1 - path: administrator/components/com_installer/src/Helper/InstallerHelper.php - - message: ''' #^Call to deprecated method register\(\) of class JLoader\: @@ -3217,8 +2904,8 @@ parameters: - message: ''' - #^Call to deprecated method get\(\) of class Joomla\\CMS\\Adapter\\Adapter\: - 4\.3\.0 will be removed in 6\.0 + #^Call to deprecated method get\(\) of class Joomla\\CMS\\Installer\\Installer\: + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -3227,8 +2914,8 @@ parameters: - message: ''' - #^Call to deprecated method get\(\) of class Joomla\\CMS\\Adapter\\Adapter\: - 4\.3\.0 will be removed in 6\.0 + #^Call to deprecated method get\(\) of class Joomla\\CMS\\Installer\\Installer\: + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -3238,7 +2925,7 @@ parameters: - message: ''' #^Call to deprecated method get\(\) of class Joomla\\CMS\\Updater\\Update\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -3270,8 +2957,8 @@ parameters: - message: ''' - #^Call to deprecated method get\(\) of class Joomla\\CMS\\Adapter\\Adapter\: - 4\.3\.0 will be removed in 6\.0 + #^Call to deprecated method get\(\) of class Joomla\\CMS\\Changelog\\Changelog\: + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -3280,8 +2967,8 @@ parameters: - message: ''' - #^Call to deprecated method get\(\) of class Joomla\\CMS\\Changelog\\Changelog\: - 4\.3\.0 will be removed in 6\.0 + #^Call to deprecated method get\(\) of class Joomla\\CMS\\Installer\\Installer\: + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -3312,8 +2999,8 @@ parameters: - message: ''' - #^Call to deprecated method get\(\) of class Joomla\\CMS\\Adapter\\Adapter\: - 4\.3\.0 will be removed in 6\.0 + #^Call to deprecated method get\(\) of class Joomla\\CMS\\Installer\\Installer\: + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -3323,45 +3010,23 @@ parameters: - message: ''' #^Call to deprecated method get\(\) of class Joomla\\CMS\\Updater\\Update\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated count: 3 path: administrator/components/com_installer/src/Model/UpdateModel.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Form\\Form\: - 4\.3 will be removed in 6\.0 - Use the FormFactory service from the container - Example\: Factory\:\:getContainer\(\)\-\>get\(FormFactoryInterface\:\:class\)\-\>createForm\(\$name, \$options\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: administrator/components/com_installer/src/Model/UpdateModel.php - - message: ''' #^Call to deprecated method set\(\) of class Joomla\\CMS\\Updater\\Update\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper setter function for the property$# ''' identifier: method.deprecated count: 2 path: administrator/components/com_installer/src/Model/UpdateModel.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 1 - path: administrator/components/com_installer/src/Model/UpdatesiteModel.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -3395,17 +3060,6 @@ parameters: count: 1 path: administrator/components/com_installer/src/Model/UpdatesitesModel.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 1 - path: administrator/components/com_installer/src/Model/UpdatesitesModel.php - - message: ''' #^Call to deprecated method getErrors\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -3457,17 +3111,6 @@ parameters: count: 1 path: administrator/components/com_installer/src/View/Update/HtmlView.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 1 - path: administrator/components/com_installer/src/View/Update/HtmlView.php - - message: ''' #^Call to deprecated method getErrors\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -3515,8 +3158,8 @@ parameters: - message: ''' - #^Call to deprecated method get\(\) of class Joomla\\CMS\\Adapter\\Adapter\: - 4\.3\.0 will be removed in 6\.0 + #^Call to deprecated method get\(\) of class Joomla\\CMS\\Installer\\Installer\: + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -3537,7 +3180,7 @@ parameters: - message: ''' #^Call to deprecated method get\(\) of class Joomla\\CMS\\Updater\\Update\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -3591,8 +3234,8 @@ parameters: - message: ''' - #^Call to deprecated method set\(\) of class Joomla\\CMS\\Adapter\\Adapter\: - 4\.3\.0 will be removed in 6\.0 + #^Call to deprecated method set\(\) of class Joomla\\CMS\\Installer\\Installer\: + 4\.3\.0 will be removed in 7\.0 Create a proper setter function for the property$# ''' identifier: method.deprecated @@ -3859,13 +3502,13 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: + 3\.1\.4 will be removed in 7\.0 + Will be removed without replacement + Catch thrown Exceptions instead of getError$# ''' - identifier: staticMethod.deprecated - count: 1 + identifier: method.deprecated + count: 3 path: administrator/components/com_languages/src/Model/InstalledModel.php - @@ -3891,15 +3534,6 @@ parameters: count: 4 path: administrator/components/com_languages/src/Model/InstalledModel.php - - - message: ''' - #^Call to deprecated method cleanCache\(\) of class Joomla\\Component\\Languages\\Administrator\\Model\\LanguageModel\: - 4\.3 will be removed in 6\.0$# - ''' - identifier: method.deprecated - count: 1 - path: administrator/components/com_languages/src/Model/LanguageModel.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -3911,21 +3545,10 @@ parameters: count: 6 path: administrator/components/com_languages/src/Model/LanguageModel.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: administrator/components/com_languages/src/Model/LanguageModel.php - - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -3956,35 +3579,15 @@ parameters: - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: classConstant.deprecatedClass - count: 1 - path: administrator/components/com_languages/src/Model/LanguageModel.php - - - - message: ''' - #^Call to deprecated method cleanCache\(\) of class Joomla\\Component\\Languages\\Administrator\\Model\\LanguagesModel\: - 4\.3 will be removed in 6\.0$# + #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: + 3\.1\.4 will be removed in 7\.0 + Will be removed without replacement + Catch thrown Exceptions instead of getError$# ''' identifier: method.deprecated count: 1 path: administrator/components/com_languages/src/Model/LanguagesModel.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 2 - path: administrator/components/com_languages/src/Model/LanguagesModel.php - - message: ''' #^Call to deprecated method setError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -4287,7 +3890,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -4316,17 +3919,6 @@ parameters: count: 2 path: administrator/components/com_mails/src/Model/TemplateModel.php - - - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: classConstant.deprecatedClass - count: 2 - path: administrator/components/com_mails/src/Model/TemplateModel.php - - message: ''' #^Call to deprecated method getErrors\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -4355,27 +3947,6 @@ parameters: count: 1 path: administrator/components/com_mails/tmpl/template/edit.php - - - message: ''' - #^Call to deprecated method get\(\) of class Joomla\\CMS\\Object\\CMSObject\: - 4\.3\.0 will be removed in 6\.0 - Create a proper getter function for the property$# - ''' - identifier: method.deprecated - count: 2 - path: administrator/components/com_media/helpers/media.php - - - - message: ''' - #^Parameter \$mediaObject of method MediaHelper\:\:getContentTypeLink\(\) has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: administrator/components/com_media/helpers/media.php - - message: ''' #^Call to deprecated method getDocument\(\) of class Joomla\\CMS\\Factory\: @@ -4423,17 +3994,6 @@ parameters: count: 1 path: administrator/components/com_media/src/Controller/PluginController.php - - - message: ''' - #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Object\\CMSObject\: - 3\.1\.4 will be removed in 7\.0 - Will be removed without replacement - Catch thrown Exceptions instead of getError$# - ''' - identifier: method.deprecated - count: 4 - path: administrator/components/com_media/src/Model/ApiModel.php - - message: ''' #^Call to deprecated method triggerEvent\(\) of interface Joomla\\CMS\\Application\\EventAwareInterface\: @@ -4445,17 +4005,6 @@ parameters: count: 9 path: administrator/components/com_media/src/Model/ApiModel.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 4 - path: administrator/components/com_media/src/Model/ApiModel.php - - message: ''' #^Call to deprecated method triggerEvent\(\) of interface Joomla\\CMS\\Application\\EventAwareInterface\: @@ -4515,10 +4064,11 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the database service in the DI container + Example\: + Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -4603,10 +4153,11 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the database service in the DI container + Example\: + Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -4635,26 +4186,6 @@ parameters: count: 3 path: administrator/components/com_menus/src/Helper/MenusHelper.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: administrator/components/com_menus/src/Helper/MenusHelper.php - - - - message: ''' - #^Call to deprecated method cleanCache\(\) of class Joomla\\Component\\Menus\\Administrator\\Model\\ItemModel\: - 4\.3 will be removed in 6\.0$# - ''' - identifier: method.deprecated - count: 7 - path: administrator/components/com_menus/src/Model/ItemModel.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -4681,7 +4212,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -4722,15 +4253,6 @@ parameters: count: 2 path: administrator/components/com_menus/src/Model/ItemsModel.php - - - message: ''' - #^Call to deprecated method cleanCache\(\) of class Joomla\\Component\\Menus\\Administrator\\Model\\MenuModel\: - 4\.3 will be removed in 6\.0$# - ''' - identifier: method.deprecated - count: 2 - path: administrator/components/com_menus/src/Model/MenuModel.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -4746,8 +4268,9 @@ parameters: message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the MvcFactory instead or instantiate the table class directly\. + Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\); + \$table \= new \\Joomla\\CMS\\Table\\Content\(\$db\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -4756,7 +4279,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -4785,17 +4308,6 @@ parameters: count: 4 path: administrator/components/com_menus/src/Model/MenuModel.php - - - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: classConstant.deprecatedClass - count: 1 - path: administrator/components/com_menus/src/Model/MenuModel.php - - message: ''' #^Call to deprecated method setError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -4819,28 +4331,6 @@ parameters: count: 2 path: administrator/components/com_menus/src/Model/MenutypesModel.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 8 - path: administrator/components/com_menus/src/Model/MenutypesModel.php - - - - message: ''' - #^Parameter \$option of method Joomla\\Component\\Menus\\Administrator\\Model\\MenutypesModel\:\:addReverseLookupUrl\(\) has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: administrator/components/com_menus/src/Model/MenutypesModel.php - - message: ''' #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: @@ -4914,17 +4404,6 @@ parameters: count: 1 path: administrator/components/com_menus/src/View/Menus/HtmlView.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 5 - path: administrator/components/com_menus/src/View/Menutypes/HtmlView.php - - message: '#^Access to an undefined property Joomla\\Component\\Menus\\Administrator\\View\\Item\\HtmlView\:\:\$fields\.$#' identifier: property.notFound @@ -4982,17 +4461,6 @@ parameters: count: 4 path: administrator/components/com_messages/src/Model/ConfigModel.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 1 - path: administrator/components/com_messages/src/Model/ConfigModel.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -5015,17 +4483,6 @@ parameters: count: 1 path: administrator/components/com_messages/src/Model/MessageModel.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: administrator/components/com_messages/src/Model/MessageModel.php - - message: ''' #^Call to deprecated method setError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -5129,15 +4586,6 @@ parameters: count: 2 path: administrator/components/com_modules/src/Helper/ModulesHelper.php - - - message: ''' - #^Call to deprecated method cleanCache\(\) of class Joomla\\Component\\Modules\\Administrator\\Model\\ModuleModel\: - 4\.3 will be removed in 6\.0$# - ''' - identifier: method.deprecated - count: 5 - path: administrator/components/com_modules/src/Model/ModuleModel.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -5153,8 +4601,9 @@ parameters: message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the MvcFactory instead or instantiate the table class directly\. + Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\); + \$table \= new \\Joomla\\CMS\\Table\\Content\(\$db\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -5175,7 +4624,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -5204,17 +4653,6 @@ parameters: count: 4 path: administrator/components/com_modules/src/Model/ModuleModel.php - - - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: classConstant.deprecatedClass - count: 1 - path: administrator/components/com_modules/src/Model/ModuleModel.php - - message: ''' #^Call to deprecated method getLanguage\(\) of class Joomla\\CMS\\Factory\: @@ -5373,10 +4811,11 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the database service in the DI container + Example\: + Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated count: 2 @@ -5394,6 +4833,17 @@ parameters: count: 2 path: administrator/components/com_newsfeeds/src/Helper/NewsfeedsHelper.php + - + message: ''' + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\MVC\\Model\\BaseDatabaseModel\: + 4\.3 will be removed in 6\.0 + Use getDatabase\(\) instead + Example\: \$model\-\>getDatabase\(\);$# + ''' + identifier: method.deprecated + count: 1 + path: administrator/components/com_newsfeeds/src/Model/NewsfeedModel.php + - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -5407,12 +4857,12 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: + 3\.1\.4 will be removed in 7\.0 + Will be removed without replacement + Catch thrown Exceptions instead of getError$# ''' - identifier: staticMethod.deprecated + identifier: method.deprecated count: 1 path: administrator/components/com_newsfeeds/src/Model/NewsfeedModel.php @@ -5439,17 +4889,6 @@ parameters: count: 1 path: administrator/components/com_newsfeeds/src/Service/HTML/AdministratorService.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: administrator/components/com_newsfeeds/src/Table/NewsfeedTable.php - - message: ''' #^Call to deprecated method getUser\(\) of class Joomla\\CMS\\Factory\: @@ -5519,34 +4958,13 @@ parameters: count: 2 path: administrator/components/com_plugins/src/Helper/PluginsHelper.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 1 - path: administrator/components/com_plugins/src/Helper/PluginsHelper.php - - - - message: ''' - #^Return type of method Joomla\\Component\\Plugins\\Administrator\\Helper\\PluginsHelper\:\:parseXMLTemplateFile\(\) has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: return.deprecatedClass - count: 1 - path: administrator/components/com_plugins/src/Helper/PluginsHelper.php - - message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the MvcFactory instead or instantiate the table class directly\. + Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\); + \$table \= new \\Joomla\\CMS\\Table\\Content\(\$db\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -5567,24 +4985,13 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated count: 1 path: administrator/components/com_plugins/src/Model/PluginModel.php - - - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: classConstant.deprecatedClass - count: 1 - path: administrator/components/com_plugins/src/Model/PluginModel.php - - message: ''' #^Call to deprecated method getLanguage\(\) of class Joomla\\CMS\\Factory\: @@ -6074,28 +5481,6 @@ parameters: count: 3 path: administrator/components/com_scheduler/src/Model/TaskModel.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 1 - path: administrator/components/com_scheduler/src/Model/TasksModel.php - - - - message: ''' - #^Return type of anonymous function has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: return.deprecatedClass - count: 1 - path: administrator/components/com_scheduler/src/Model/TasksModel.php - - message: ''' #^Call to deprecated method getUser\(\) of class Joomla\\CMS\\Factory\: @@ -6302,24 +5687,24 @@ parameters: - message: ''' - #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: - 3\.1\.4 will be removed in 7\.0 - Will be removed without replacement - Catch thrown Exceptions instead of getError$# + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\MVC\\Model\\BaseDatabaseModel\: + 4\.3 will be removed in 6\.0 + Use getDatabase\(\) instead + Example\: \$model\-\>getDatabase\(\);$# ''' identifier: method.deprecated - count: 8 + count: 1 path: administrator/components/com_tags/src/Model/TagModel.php - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: + 3\.1\.4 will be removed in 7\.0 + Will be removed without replacement + Catch thrown Exceptions instead of getError$# ''' - identifier: staticMethod.deprecated - count: 1 + identifier: method.deprecated + count: 9 path: administrator/components/com_tags/src/Model/TagModel.php - @@ -6475,37 +5860,6 @@ parameters: count: 1 path: administrator/components/com_templates/src/Helper/TemplatesHelper.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 1 - path: administrator/components/com_templates/src/Helper/TemplatesHelper.php - - - - message: ''' - #^Return type of method Joomla\\Component\\Templates\\Administrator\\Helper\\TemplatesHelper\:\:parseXMLTemplateFile\(\) has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: return.deprecatedClass - count: 1 - path: administrator/components/com_templates/src/Helper/TemplatesHelper.php - - - - message: ''' - #^Call to deprecated method cleanCache\(\) of class Joomla\\Component\\Templates\\Administrator\\Model\\StyleModel\: - 4\.3 will be removed in 6\.0$# - ''' - identifier: method.deprecated - count: 5 - path: administrator/components/com_templates/src/Model/StyleModel.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -6517,17 +5871,6 @@ parameters: count: 8 path: administrator/components/com_templates/src/Model/StyleModel.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 2 - path: administrator/components/com_templates/src/Model/StyleModel.php - - message: ''' #^Call to deprecated method setError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -6797,16 +6140,6 @@ parameters: count: 2 path: administrator/components/com_users/src/Controller/UsersController.php - - - message: ''' - #^Parameter \$input of method Joomla\\Component\\Users\\Administrator\\Controller\\UsersController\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: administrator/components/com_users/src/Controller/UsersController.php - - message: ''' #^Class Joomla\\Component\\Users\\Administrator\\Extension\\UsersComponent implements deprecated interface Joomla\\CMS\\Fields\\FieldsFormServiceInterface\: @@ -6901,8 +6234,9 @@ parameters: message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the MvcFactory instead or instantiate the table class directly\. + Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\); + \$table \= new \\Joomla\\CMS\\Table\\Content\(\$db\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -6911,7 +6245,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -6929,17 +6263,6 @@ parameters: count: 5 path: administrator/components/com_users/src/Model/GroupModel.php - - - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: classConstant.deprecatedClass - count: 1 - path: administrator/components/com_users/src/Model/GroupModel.php - - message: ''' #^Call to deprecated method setError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -6955,8 +6278,9 @@ parameters: message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the MvcFactory instead or instantiate the table class directly\. + Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\); + \$table \= new \\Joomla\\CMS\\Table\\Content\(\$db\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -6975,12 +6299,12 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: + 3\.1\.4 will be removed in 7\.0 + Will be removed without replacement + Catch thrown Exceptions instead of getError$# ''' - identifier: staticMethod.deprecated + identifier: method.deprecated count: 2 path: administrator/components/com_users/src/Model/LevelsModel.php @@ -7020,12 +6344,23 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\MVC\\Model\\BaseDatabaseModel\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use getDatabase\(\) instead + Example\: \$model\-\>getDatabase\(\);$# ''' - identifier: staticMethod.deprecated + identifier: method.deprecated + count: 1 + path: administrator/components/com_users/src/Model/NoteModel.php + + - + message: ''' + #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: + 3\.1\.4 will be removed in 7\.0 + Will be removed without replacement + Catch thrown Exceptions instead of getError$# + ''' + identifier: method.deprecated count: 1 path: administrator/components/com_users/src/Model/NoteModel.php @@ -7088,8 +6423,9 @@ parameters: message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the MvcFactory instead or instantiate the table class directly\. + Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\); + \$table \= new \\Joomla\\CMS\\Table\\Content\(\$db\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -7098,7 +6434,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -7307,29 +6643,6 @@ parameters: count: 1 path: administrator/components/com_users/src/View/User/HtmlView.php - - - message: ''' - #^Access to deprecated property \$db of class Joomla\\Component\\Users\\Administrator\\View\\Users\\HtmlView\: - 4\.3 will be removed in 6\.0 - Will be removed without replacement use database from the container instead - Example\: Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# - ''' - identifier: property.deprecated - count: 1 - path: administrator/components/com_users/src/View/Users/HtmlView.php - - - - message: ''' - #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: - 4\.3 will be removed in 6\.0 - Use the database service in the DI container - Example\: - Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: administrator/components/com_users/src/View/Users/HtmlView.php - - message: ''' #^Call to deprecated method getErrors\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -7658,7 +6971,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -7668,28 +6981,17 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated count: 1 path: administrator/components/com_workflow/src/Model/TransitionModel.php - - - message: ''' - #^Return type of method Joomla\\Component\\Workflow\\Administrator\\Model\\TransitionModel\:\:getItem\(\) has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: return.deprecatedClass - count: 1 - path: administrator/components/com_workflow/src/Model/TransitionModel.php - - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -8055,10 +7357,11 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the database service in the DI container + Example\: + Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated count: 2 @@ -8111,36 +7414,6 @@ parameters: count: 1 path: components/com_banners/src/Model/BannersModel.php - - - message: ''' - #^Parameter \$input of method Joomla\\Component\\Config\\Site\\Controller\\ConfigController\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: components/com_config/src/Controller/ConfigController.php - - - - message: ''' - #^Parameter \$input of method Joomla\\Component\\Config\\Site\\Controller\\ModulesController\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: components/com_config/src/Controller/ModulesController.php - - - - message: ''' - #^Parameter \$input of method Joomla\\Component\\Config\\Site\\Controller\\TemplatesController\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: components/com_config/src/Controller/TemplatesController.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -8277,16 +7550,6 @@ parameters: count: 1 path: components/com_contact/src/Controller/ContactController.php - - - message: ''' - #^Parameter \$input of method Joomla\\Component\\Contact\\Site\\Controller\\DisplayController\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: components/com_contact/src/Controller/DisplayController.php - - message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Categories\\Categories\: @@ -8318,17 +7581,6 @@ parameters: count: 1 path: components/com_contact/src/Model/CategoryModel.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: components/com_contact/src/Model/CategoryModel.php - - message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Form\\Form\: @@ -8386,17 +7638,6 @@ parameters: count: 1 path: components/com_contact/src/Model/FeaturedModel.php - - - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: classConstant.deprecatedClass - count: 1 - path: components/com_contact/src/Model/FormModel.php - - message: ''' #^Call to deprecated method getRouter\(\) of class Joomla\\CMS\\Application\\CMSApplication\: @@ -8603,16 +7844,6 @@ parameters: count: 1 path: components/com_content/src/Controller/ArticleController.php - - - message: ''' - #^Parameter \$input of method Joomla\\Component\\Content\\Site\\Controller\\DisplayController\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: components/com_content/src/Controller/DisplayController.php - - message: ''' #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: @@ -8670,26 +7901,6 @@ parameters: count: 2 path: components/com_content/src/Model/ArchiveModel.php - - - message: ''' - #^Call to deprecated method cleanCache\(\) of class Joomla\\Component\\Content\\Site\\Model\\ArticleModel\: - 4\.3 will be removed in 6\.0$# - ''' - identifier: method.deprecated - count: 1 - path: components/com_content/src/Model/ArticleModel.php - - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: components/com_content/src/Model/ArticleModel.php - - message: ''' #^Call to deprecated method getLanguage\(\) of class Joomla\\CMS\\Factory\: @@ -8735,17 +7946,6 @@ parameters: count: 1 path: components/com_content/src/Model/CategoryModel.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: components/com_content/src/Model/CategoryModel.php - - message: ''' #^Call to deprecated method setError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -8771,7 +7971,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -8789,17 +7989,6 @@ parameters: count: 1 path: components/com_content/src/Model/FormModel.php - - - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: classConstant.deprecatedClass - count: 1 - path: components/com_content/src/Model/FormModel.php - - message: ''' #^Call to deprecated method getRouter\(\) of class Joomla\\CMS\\Application\\CMSApplication\: @@ -8895,29 +8084,6 @@ parameters: count: 1 path: components/com_content/src/View/Featured/FeedView.php - - - message: ''' - #^Access to deprecated property \$db of class Joomla\\Component\\Content\\Site\\View\\Featured\\HtmlView\: - 4\.3 will be removed in 6\.0 - Will be removed without replacement use database from the container instead - Example\: Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# - ''' - identifier: property.deprecated - count: 1 - path: components/com_content/src/View/Featured/HtmlView.php - - - - message: ''' - #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: - 4\.3 will be removed in 6\.0 - Use the database service in the DI container - Example\: - Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: components/com_content/src/View/Featured/HtmlView.php - - message: ''' #^Call to deprecated method getErrors\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -9046,26 +8212,6 @@ parameters: count: 1 path: components/com_content/tmpl/form/edit.php - - - message: ''' - #^Parameter \$input of method Joomla\\Component\\Contenthistory\\Site\\Controller\\DisplayController\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: components/com_contenthistory/src/Controller/DisplayController.php - - - - message: ''' - #^Parameter \$input of method Joomla\\Component\\Fields\\Site\\Controller\\DisplayController\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: components/com_fields/src/Controller/DisplayController.php - - message: ''' #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: @@ -9172,16 +8318,6 @@ parameters: count: 1 path: components/com_finder/tmpl/search/default_sorting.php - - - message: ''' - #^Parameter \$input of method Joomla\\Component\\Modules\\Site\\Controller\\DisplayController\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: components/com_modules/src/Controller/DisplayController.php - - message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Categories\\Categories\: @@ -9204,17 +8340,6 @@ parameters: count: 1 path: components/com_newsfeeds/src/Model/CategoryModel.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: components/com_newsfeeds/src/Model/CategoryModel.php - - message: ''' #^Call to deprecated method setError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -9420,7 +8545,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -9438,17 +8563,6 @@ parameters: count: 1 path: components/com_tags/src/Model/TagModel.php - - - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: classConstant.deprecatedClass - count: 1 - path: components/com_tags/src/Model/TagModel.php - - message: ''' #^Access to deprecated property \$sefparams of class Joomla\\Component\\Tags\\Site\\Service\\Router\: @@ -9693,44 +8807,21 @@ parameters: - message: ''' - #^Access to deprecated property \$db of class Joomla\\Component\\Users\\Site\\View\\Profile\\HtmlView\: - 4\.3 will be removed in 6\.0 - Will be removed without replacement use database from the container instead - Example\: Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# + #^Call to deprecated method getErrors\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: + 3\.1\.4 will be removed in 7\.0 + Will be removed without replacement + Catch thrown Exceptions instead of getErrors$# ''' - identifier: property.deprecated + identifier: method.deprecated count: 1 path: components/com_users/src/View/Profile/HtmlView.php - message: ''' - #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: - 4\.3 will be removed in 6\.0 - Use the database service in the DI container - Example\: - Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: components/com_users/src/View/Profile/HtmlView.php - - - - message: ''' - #^Call to deprecated method getErrors\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: - 3\.1\.4 will be removed in 7\.0 - Will be removed without replacement - Catch thrown Exceptions instead of getErrors$# - ''' - identifier: method.deprecated - count: 1 - path: components/com_users/src/View/Profile/HtmlView.php - - - - message: ''' - #^Call to deprecated method triggerEvent\(\) of interface Joomla\\CMS\\Application\\EventAwareInterface\: - 4\.0 will be removed in 6\.0 - Use the Dispatcher method instead - Example\: Factory\:\:getApplication\(\)\-\>getDispatcher\(\)\-\>dispatch\(\$eventName, \$event\);$# + #^Call to deprecated method triggerEvent\(\) of interface Joomla\\CMS\\Application\\EventAwareInterface\: + 4\.0 will be removed in 6\.0 + Use the Dispatcher method instead + Example\: Factory\:\:getApplication\(\)\-\>getDispatcher\(\)\-\>dispatch\(\$eventName, \$event\);$# ''' identifier: method.deprecated count: 1 @@ -10103,26 +9194,6 @@ parameters: count: 1 path: installation/src/Application/InstallationApplication.php - - - message: ''' - #^Parameter \$input of method Joomla\\CMS\\Installation\\Application\\InstallationApplication\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: installation/src/Application/InstallationApplication.php - - - - message: ''' - #^Parameter \$input of method Joomla\\CMS\\Installation\\Controller\\InstallationController\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: installation/src/Controller/InstallationController.php - - message: ''' #^Call to deprecated method getLanguage\(\) of class Joomla\\CMS\\Factory\: @@ -10273,24 +9344,24 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Form\\Form\: - 4\.3 will be removed in 6\.0 - Use the FormFactory service from the container - Example\: Factory\:\:getContainer\(\)\-\>get\(FormFactoryInterface\:\:class\)\-\>createForm\(\$name, \$options\);$# + #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: + 3\.1\.4 will be removed in 7\.0 + Will be removed without replacement + Catch thrown Exceptions instead of getError$# ''' - identifier: staticMethod.deprecated - count: 1 + identifier: method.deprecated + count: 3 path: installation/src/Model/LanguagesModel.php - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: + #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Form\\Form\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the FormFactory service from the container + Example\: Factory\:\:getContainer\(\)\-\>get\(FormFactoryInterface\:\:class\)\-\>createForm\(\$name, \$options\);$# ''' identifier: staticMethod.deprecated - count: 3 + count: 1 path: installation/src/Model/LanguagesModel.php - @@ -10346,16 +9417,6 @@ parameters: count: 1 path: installation/src/Response/JsonResponse.php - - - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: classConstant.deprecatedClass - count: 1 - path: installation/src/Service/Provider/Application.php - - message: '#^Access to protected property Joomla\\CMS\\Document\\ErrorDocument\:\:\$_error\.$#' identifier: property.protected @@ -10422,6 +9483,12 @@ parameters: count: 1 path: installation/tmpl/setup/default.php + - + message: '#^Call to protected method getDocument\(\) of class Joomla\\CMS\\MVC\\View\\AbstractView\.$#' + identifier: method.protected + count: 1 + path: installation/tmpl/setup/default.php + - message: ''' #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: @@ -10445,28 +9512,6 @@ parameters: count: 1 path: libraries/src/Access/Access.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 1 - path: libraries/src/Access/Rules.php - - - - message: ''' - #^Return type of method Joomla\\CMS\\Access\\Rules\:\:getAllowed\(\) has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: return.deprecatedClass - count: 1 - path: libraries/src/Access/Rules.php - - message: ''' #^Call to deprecated method getDocument\(\) of class Joomla\\CMS\\Factory\: @@ -10501,16 +9546,6 @@ parameters: count: 1 path: libraries/src/Application/AdministratorApplication.php - - - message: ''' - #^Parameter \$input of method Joomla\\CMS\\Application\\AdministratorApplication\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: libraries/src/Application/AdministratorApplication.php - - message: ''' #^Call to deprecated method getDocument\(\) of class Joomla\\CMS\\Factory\: @@ -10533,32 +9568,6 @@ parameters: count: 1 path: libraries/src/Application/ApiApplication.php - - - message: '#^Property Joomla\\CMS\\Application\\BaseApplication\:\:\$input is not writable\.$#' - identifier: assign.propertyReadOnly - count: 1 - path: libraries/src/Application/BaseApplication.php - - - - message: ''' - #^Class Joomla\\CMS\\Application\\CLI\\Output\\Stdout extends deprecated class Joomla\\CMS\\Application\\CLI\\CliOutput\: - 4\.3 will be removed in 6\.0 - Use the `joomla/console` package instead$# - ''' - identifier: class.extendsDeprecatedClass - count: 1 - path: libraries/src/Application/CLI/Output/Stdout.php - - - - message: ''' - #^Class Joomla\\CMS\\Application\\CLI\\Output\\Xml extends deprecated class Joomla\\CMS\\Application\\CLI\\CliOutput\: - 4\.3 will be removed in 6\.0 - Use the `joomla/console` package instead$# - ''' - identifier: class.extendsDeprecatedClass - count: 1 - path: libraries/src/Application/CLI/Output/Xml.php - - message: ''' #^Access to deprecated static property \$instances of class Joomla\\CMS\\Menu\\AbstractMenu\: @@ -10605,16 +9614,6 @@ parameters: count: 1 path: libraries/src/Application/CMSApplication.php - - - message: ''' - #^Parameter \$input of method Joomla\\CMS\\Application\\CMSApplication\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: libraries/src/Application/CMSApplication.php - - message: ''' #^Interface Joomla\\CMS\\Application\\CMSApplicationInterface extends deprecated interface Joomla\\CMS\\Application\\EventAwareInterface\: @@ -10732,16 +9731,6 @@ parameters: count: 1 path: libraries/src/Application/SiteApplication.php - - - message: ''' - #^Parameter \$input of method Joomla\\CMS\\Application\\SiteApplication\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: libraries/src/Application/SiteApplication.php - - message: ''' #^Call to deprecated method getDocument\(\) of class Joomla\\CMS\\Factory\: @@ -10766,26 +9755,6 @@ parameters: count: 1 path: libraries/src/Application/WebApplication.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: new.deprecated - count: 1 - path: libraries/src/Application/WebApplication.php - - - - message: ''' - #^Parameter \$input of method Joomla\\CMS\\Application\\WebApplication\:\:__construct\(\) has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: libraries/src/Application/WebApplication.php - - message: '#^Call to an undefined method Joomla\\CMS\\Association\\AssociationExtensionHelper\:\:getAssociations\(\)\.$#' identifier: method.notFound @@ -10931,21 +9900,10 @@ parameters: count: 2 path: libraries/src/Categories/CategoryNode.php - - - message: ''' - #^Usage of deprecated trait Joomla\\CMS\\Object\\LegacyErrorHandlingTrait in class Joomla\\CMS\\Categories\\CategoryNode\: - 4\.3 will be removed in 7\.0 - Will be removed without replacement - Throw an Exception instead of setError$# - ''' - identifier: traitUse.deprecated - count: 1 - path: libraries/src/Categories/CategoryNode.php - - message: ''' #^Usage of deprecated trait Joomla\\CMS\\Object\\LegacyPropertyManagementTrait in class Joomla\\CMS\\Categories\\CategoryNode\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Will be removed without replacement Create proper setter functions for the individual properties or use a \\Joomla\\Registry\\Registry$# ''' @@ -10953,21 +9911,10 @@ parameters: count: 1 path: libraries/src/Categories/CategoryNode.php - - - message: ''' - #^Usage of deprecated trait Joomla\\CMS\\Object\\LegacyErrorHandlingTrait in class Joomla\\CMS\\Changelog\\Changelog\: - 4\.3 will be removed in 7\.0 - Will be removed without replacement - Throw an Exception instead of setError$# - ''' - identifier: traitUse.deprecated - count: 1 - path: libraries/src/Changelog/Changelog.php - - message: ''' #^Usage of deprecated trait Joomla\\CMS\\Object\\LegacyPropertyManagementTrait in class Joomla\\CMS\\Changelog\\Changelog\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Will be removed without replacement Create proper setter functions for the individual properties or use a \\Joomla\\Registry\\Registry$# ''' @@ -11094,17 +10041,6 @@ parameters: count: 1 path: libraries/src/Console/ChangeUserPasswordCommand.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: libraries/src/Console/CoreUpdateChannelCommand.php - - message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\User\\User\: @@ -11212,26 +10148,6 @@ parameters: count: 2 path: libraries/src/Console/UpdateCoreCommand.php - - - message: ''' - #^Access to deprecated static property \$gmt of class Joomla\\CMS\\Date\\Date\: - 4\.0 will be removed in 6\.0 - Will be removed without replacement$# - ''' - identifier: staticProperty.deprecated - count: 2 - path: libraries/src/Date/Date.php - - - - message: ''' - #^Access to deprecated static property \$stz of class Joomla\\CMS\\Date\\Date\: - 4\.0 will be removed in 6\.0 - Will be removed without replacement$# - ''' - identifier: staticProperty.deprecated - count: 2 - path: libraries/src/Date/Date.php - - message: ''' #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: @@ -11409,7 +10325,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Object\\CMSObject\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -12891,28 +11807,6 @@ parameters: count: 1 path: libraries/src/Feed/FeedParser.php - - - message: '#^Unsafe usage of new static\(\)\.$#' - identifier: new.static - count: 1 - path: libraries/src/Filesystem/Patcher.php - - - - message: ''' - #^Call to method clean\(\) of deprecated class Joomla\\Filesystem\\Path\: - 4\.4 will be removed in 6\.0 - Use Joomla\\Filesystem\\Path instead\.$# - ''' - identifier: staticMethod.deprecatedClass - count: 1 - path: libraries/src/Filesystem/Path.php - - - - message: '#^Static call to instance method Joomla\\CMS\\Filesystem\\Support\\StringController\:\:getRef\(\)\.$#' - identifier: method.staticCall - count: 2 - path: libraries/src/Filesystem/Streams/StreamString.php - - message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Language\\Language\: @@ -13176,7 +12070,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Object\\CMSObject\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -13324,17 +12218,6 @@ parameters: count: 1 path: libraries/src/HTML/Helpers/ActionsDropdown.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 1 - path: libraries/src/HTML/Helpers/AdminLanguage.php - - message: ''' #^Call to deprecated method getLanguage\(\) of class Joomla\\CMS\\Factory\: @@ -13395,17 +12278,6 @@ parameters: count: 1 path: libraries/src/HTML/Helpers/ContentLanguage.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 1 - path: libraries/src/HTML/Helpers/ContentLanguage.php - - message: ''' #^Call to deprecated method getDocument\(\) of class Joomla\\CMS\\Factory\: @@ -13826,18 +12698,7 @@ parameters: Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated - count: 10 - path: libraries/src/Helper/TagsHelper.php - - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 + count: 13 path: libraries/src/Helper/TagsHelper.php - @@ -13852,6 +12713,12 @@ parameters: count: 4 path: libraries/src/Helper/TagsHelper.php + - + message: '#^Method Joomla\\CMS\\Helper\\TagsHelper\:\:postStoreProcess\(\) should return bool but return statement is missing\.$#' + identifier: return.missing + count: 1 + path: libraries/src/Helper/TagsHelper.php + - message: ''' #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: @@ -13990,46 +12857,6 @@ parameters: count: 4 path: libraries/src/Image/Image.php - - - message: ''' - #^Class Joomla\\CMS\\Input\\Cli extends deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: class.extendsDeprecatedClass - count: 1 - path: libraries/src/Input/Cli.php - - - - message: ''' - #^Class Joomla\\CMS\\Input\\Cookie extends deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: class.extendsDeprecatedClass - count: 1 - path: libraries/src/Input/Cookie.php - - - - message: ''' - #^Class Joomla\\CMS\\Input\\Files extends deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: class.extendsDeprecatedClass - count: 1 - path: libraries/src/Input/Files.php - - - - message: ''' - #^Class Joomla\\CMS\\Input\\Json extends deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: class.extendsDeprecatedClass - count: 1 - path: libraries/src/Input/Json.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -14041,17 +12868,6 @@ parameters: count: 5 path: libraries/src/Installer/Adapter/ComponentAdapter.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 13 - path: libraries/src/Installer/Adapter/ComponentAdapter.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -14063,17 +12879,6 @@ parameters: count: 2 path: libraries/src/Installer/Adapter/FileAdapter.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 2 - path: libraries/src/Installer/Adapter/FileAdapter.php - - message: ''' #^Call to deprecated method getCache\(\) of class Joomla\\CMS\\Factory\: @@ -14088,19 +12893,19 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: + 3\.1\.4 will be removed in 7\.0 + Will be removed without replacement + Catch thrown Exceptions instead of getError$# ''' - identifier: staticMethod.deprecated - count: 7 + identifier: method.deprecated + count: 3 path: libraries/src/Installer/Adapter/LanguageAdapter.php - message: ''' - #^Call to deprecated method set\(\) of class Joomla\\CMS\\Adapter\\Adapter\: - 4\.3\.0 will be removed in 6\.0 + #^Call to deprecated method set\(\) of class Joomla\\CMS\\Installer\\Installer\: + 4\.3\.0 will be removed in 7\.0 Create a proper setter function for the property$# ''' identifier: method.deprecated @@ -14118,17 +12923,6 @@ parameters: count: 1 path: libraries/src/Installer/Adapter/LibraryAdapter.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 4 - path: libraries/src/Installer/Adapter/LibraryAdapter.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -14140,17 +12934,6 @@ parameters: count: 3 path: libraries/src/Installer/Adapter/ModuleAdapter.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 5 - path: libraries/src/Installer/Adapter/ModuleAdapter.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -14164,19 +12947,8 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 2 - path: libraries/src/Installer/Adapter/PackageAdapter.php - - - - message: ''' - #^Call to deprecated method set\(\) of class Joomla\\CMS\\Adapter\\Adapter\: - 4\.3\.0 will be removed in 6\.0 + #^Call to deprecated method set\(\) of class Joomla\\CMS\\Installer\\Installer\: + 4\.3\.0 will be removed in 7\.0 Create a proper setter function for the property$# ''' identifier: method.deprecated @@ -14194,17 +12966,6 @@ parameters: count: 1 path: libraries/src/Installer/Adapter/PluginAdapter.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 3 - path: libraries/src/Installer/Adapter/PluginAdapter.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -14216,17 +12977,6 @@ parameters: count: 1 path: libraries/src/Installer/Adapter/TemplateAdapter.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 4 - path: libraries/src/Installer/Adapter/TemplateAdapter.php - - message: ''' #^Call to deprecated method getLanguage\(\) of class Joomla\\CMS\\Factory\: @@ -14243,8 +12993,9 @@ parameters: message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the MvcFactory instead or instantiate the table class directly\. + Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\); + \$table \= new \\Joomla\\CMS\\Table\\Content\(\$db\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -14261,41 +13012,56 @@ parameters: count: 1 path: libraries/src/Installer/Installer.php + - + message: '#^Unsafe usage of new static\(\)\.$#' + identifier: new.static + count: 1 + path: libraries/src/Installer/Installer.php + - message: ''' - #^Call to method __construct\(\) of deprecated class Joomla\\CMS\\Adapter\\Adapter\: - 4\.3 will be removed in 6\.0 - Will be removed without replacement$# + #^Usage of deprecated trait Joomla\\CMS\\Object\\LegacyErrorHandlingTrait in class Joomla\\CMS\\Installer\\Installer\: + 4\.3 will be removed in 7\.0 + Will be removed without replacement + Throw an Exception instead of setError$# ''' - identifier: staticMethod.deprecatedClass + identifier: traitUse.deprecated count: 1 path: libraries/src/Installer/Installer.php - message: ''' - #^Class Joomla\\CMS\\Installer\\Installer extends deprecated class Joomla\\CMS\\Adapter\\Adapter\: - 4\.3 will be removed in 6\.0 - Will be removed without replacement$# + #^Usage of deprecated trait Joomla\\CMS\\Object\\LegacyPropertyManagementTrait in class Joomla\\CMS\\Installer\\Installer\: + 4\.3\.0 will be removed in 7\.0 + Will be removed without replacement + Create proper setter functions for the individual properties or use a \\Joomla\\Registry\\Registry$# ''' - identifier: class.extendsDeprecatedClass + identifier: traitUse.deprecated count: 1 path: libraries/src/Installer/Installer.php - - message: '#^Unsafe usage of new static\(\)\.$#' - identifier: new.static + message: ''' + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: + 4\.3 will be removed in 6\.0 + Use the database service in the DI container + Example\: + Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# + ''' + identifier: staticMethod.deprecated count: 1 - path: libraries/src/Installer/Installer.php + path: libraries/src/Installer/InstallerAdapter.php - message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the MvcFactory instead or instantiate the table class directly\. + Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\); + \$table \= new \\Joomla\\CMS\\Table\\Content\(\$db\);$# ''' identifier: staticMethod.deprecated - count: 2 + count: 1 path: libraries/src/Installer/InstallerAdapter.php - @@ -14323,8 +13089,8 @@ parameters: - message: ''' - #^Call to deprecated method set\(\) of class Joomla\\CMS\\Adapter\\Adapter\: - 4\.3\.0 will be removed in 6\.0 + #^Call to deprecated method set\(\) of class Joomla\\CMS\\Installer\\Installer\: + 4\.3\.0 will be removed in 7\.0 Create a proper setter function for the property$# ''' identifier: method.deprecated @@ -14345,7 +13111,7 @@ parameters: - message: ''' #^Usage of deprecated trait Joomla\\CMS\\Object\\LegacyPropertyManagementTrait in class Joomla\\CMS\\Installer\\InstallerExtension\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Will be removed without replacement Create proper setter functions for the individual properties or use a \\Joomla\\Registry\\Registry$# ''' @@ -14356,7 +13122,7 @@ parameters: - message: ''' #^Call to deprecated method get\(\) of class Joomla\\CMS\\Updater\\Update\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -14566,17 +13332,6 @@ parameters: count: 4 path: libraries/src/MVC/Controller/ApiController.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 1 - path: libraries/src/MVC/Controller/ApiController.php - - message: ''' #^Call to deprecated method addModelPath\(\) of class Joomla\\CMS\\MVC\\Controller\\BaseController\: @@ -14636,8 +13391,9 @@ parameters: message: ''' #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the MvcFactory instead or instantiate the table class directly\. + Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\); + \$table \= new \\Joomla\\CMS\\Table\\Content\(\$db\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -14673,28 +13429,7 @@ parameters: Catch thrown Exceptions instead of getError$# ''' identifier: method.deprecated - count: 26 - path: libraries/src/MVC/Model/AdminModel.php - - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: libraries/src/MVC/Model/AdminModel.php - - - - message: ''' - #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 - Create a proper getter function for the property$# - ''' - identifier: method.deprecated - count: 1 + count: 27 path: libraries/src/MVC/Model/AdminModel.php - @@ -14723,18 +13458,7 @@ parameters: Throw an Exception instead of using setError$# ''' identifier: method.deprecated - count: 38 - path: libraries/src/MVC/Model/AdminModel.php - - - - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: classConstant.deprecatedClass - count: 1 + count: 40 path: libraries/src/MVC/Model/AdminModel.php - @@ -14833,7 +13557,7 @@ parameters: - message: ''' #^Usage of deprecated trait Joomla\\CMS\\Object\\LegacyPropertyManagementTrait in class Joomla\\CMS\\MVC\\Model\\BaseModel\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Will be removed without replacement Create proper setter functions for the individual properties or use a \\Joomla\\Registry\\Registry$# ''' @@ -14918,7 +13642,7 @@ parameters: - message: ''' #^Usage of deprecated trait Joomla\\CMS\\Object\\LegacyPropertyManagementTrait in class Joomla\\CMS\\MVC\\View\\AbstractView\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Will be removed without replacement Create proper setter functions for the individual properties or use a \\Joomla\\Registry\\Registry$# ''' @@ -15322,23 +14046,13 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Object\\CMSObject\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated count: 1 path: libraries/src/Serializer/JoomlaSerializer.php - - - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: classConstant.deprecatedClass - count: 2 - path: libraries/src/Service/Provider/Application.php - - message: ''' #^Fetching class constant class of deprecated class Joomla\\CMS\\Authentication\\Password\\MD5Handler\: @@ -15419,46 +14133,6 @@ parameters: count: 1 path: libraries/src/Service/Provider/Database.php - - - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: classConstant.deprecatedClass - count: 1 - path: libraries/src/Service/Provider/Input.php - - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: new.deprecated - count: 1 - path: libraries/src/Service/Provider/Input.php - - - - message: ''' - #^Return type of anonymous function has typehint with deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: return.deprecatedClass - count: 1 - path: libraries/src/Service/Provider/Input.php - - - - message: ''' - #^Fetching class constant class of deprecated class Joomla\\CMS\\Input\\Input\: - 4\.3 will be removed in 6\.0\. - Use Joomla\\Input\\Input instead$# - ''' - identifier: classConstant.deprecatedClass - count: 3 - path: libraries/src/Service/Provider/Session.php - - message: ''' #^Call to deprecated method getUser\(\) of class Joomla\\CMS\\Factory\: @@ -15540,6 +14214,17 @@ parameters: count: 1 path: libraries/src/Table/ContentHistory.php + - + message: ''' + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Table\\Table\: + 5\.4\.0 will be removed in 7\.0 + Use getDatabase\(\) instead + Example\: \$this\-\>getDatabase\(\);$# + ''' + identifier: method.deprecated + count: 1 + path: libraries/src/Table/ContentType.php + - message: ''' #^Call to deprecated method setError\(\) of class Joomla\\CMS\\Table\\Table\: @@ -15609,12 +14294,12 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Table\\Table\: + 5\.4\.0 will be removed in 7\.0 + Use getDatabase\(\) instead + Example\: \$this\-\>getDatabase\(\);$# ''' - identifier: staticMethod.deprecated + identifier: method.deprecated count: 1 path: libraries/src/Table/MenuType.php @@ -15737,7 +14422,7 @@ parameters: - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -15769,7 +14454,7 @@ parameters: - message: ''' #^Usage of deprecated trait Joomla\\CMS\\Object\\LegacyPropertyManagementTrait in class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Will be removed without replacement Create proper setter functions for the individual properties or use a \\Joomla\\Registry\\Registry$# ''' @@ -15895,10 +14580,11 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + Use the database service in the DI container + Example\: + Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated count: 1 @@ -15937,51 +14623,6 @@ parameters: count: 1 path: libraries/src/UCM/UCMContent.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: libraries/src/Updater/Adapter/CollectionAdapter.php - - - - message: ''' - #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: - 4\.3 will be removed in 6\.0 - Use the database service in the DI container - Example\: - Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: libraries/src/Updater/Adapter/ExtensionAdapter.php - - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: libraries/src/Updater/Adapter/ExtensionAdapter.php - - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: libraries/src/Updater/Adapter/TufAdapter.php - - message: ''' #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: @@ -16020,7 +14661,7 @@ parameters: - message: ''' #^Usage of deprecated trait Joomla\\CMS\\Object\\LegacyPropertyManagementTrait in class Joomla\\CMS\\Updater\\Update\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Will be removed without replacement Create proper setter functions for the individual properties or use a \\Joomla\\Registry\\Registry$# ''' @@ -16030,11 +14671,13 @@ parameters: - message: ''' - #^Class Joomla\\CMS\\Updater\\UpdateAdapter extends deprecated class Joomla\\CMS\\Adapter\\AdapterInstance\: + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: 4\.3 will be removed in 6\.0 - Will be removed without replacement$# + Use the database service in the DI container + Example\: + Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' - identifier: class.extendsDeprecatedClass + identifier: staticMethod.deprecated count: 1 path: libraries/src/Updater/UpdateAdapter.php @@ -16050,32 +14693,35 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# + #^Usage of deprecated trait Joomla\\CMS\\Object\\LegacyPropertyManagementTrait in class Joomla\\CMS\\Updater\\UpdateAdapter\: + 4\.3\.0 will be removed in 7\.0 + Will be removed without replacement + Create proper setter functions for the individual properties or use a \\Joomla\\Registry\\Registry$# ''' - identifier: staticMethod.deprecated - count: 2 - path: libraries/src/Updater/Updater.php + identifier: traitUse.deprecated + count: 1 + path: libraries/src/Updater/UpdateAdapter.php - message: ''' - #^Call to method __construct\(\) of deprecated class Joomla\\CMS\\Adapter\\Adapter\: + #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: 4\.3 will be removed in 6\.0 - Will be removed without replacement$# + Use the database service in the DI container + Example\: + Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' - identifier: staticMethod.deprecatedClass + identifier: staticMethod.deprecated count: 1 path: libraries/src/Updater/Updater.php - message: ''' - #^Class Joomla\\CMS\\Updater\\Updater extends deprecated class Joomla\\CMS\\Adapter\\Adapter\: + #^Call to deprecated method register\(\) of class JLoader\: 4\.3 will be removed in 6\.0 - Will be removed without replacement$# + Classes should be autoloaded\. Use JLoader\:\:registerPrefix\(\) or JLoader\:\:registerNamespace\(\) to + register an autoloader for your files\.$# ''' - identifier: class.extendsDeprecatedClass + identifier: staticMethod.deprecated count: 1 path: libraries/src/Updater/Updater.php @@ -16085,6 +14731,17 @@ parameters: count: 1 path: libraries/src/Updater/Updater.php + - + message: ''' + #^Usage of deprecated trait Joomla\\CMS\\Object\\LegacyPropertyManagementTrait in class Joomla\\CMS\\Updater\\Updater\: + 4\.3\.0 will be removed in 7\.0 + Will be removed without replacement + Create proper setter functions for the individual properties or use a \\Joomla\\Registry\\Registry$# + ''' + identifier: traitUse.deprecated + count: 1 + path: libraries/src/Updater/Updater.php + - message: '#^Unsafe usage of new static\(\)\.$#' identifier: new.static @@ -16100,7 +14757,7 @@ parameters: Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated - count: 1 + count: 2 path: libraries/src/User/User.php - @@ -16125,21 +14782,10 @@ parameters: count: 2 path: libraries/src/User/User.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: libraries/src/User/User.php - - message: ''' #^Call to deprecated method getProperties\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -16158,16 +14804,6 @@ parameters: count: 1 path: libraries/src/User/User.php - - - message: ''' - #^Call to deprecated method isCli\(\) of interface Joomla\\CMS\\Application\\CMSApplicationInterface\: - 4\.0 will be removed in 6\.0 - Will be removed without replacement\. CLI will be handled by the joomla/console package instead$# - ''' - identifier: method.deprecated - count: 1 - path: libraries/src/User/User.php - - message: ''' #^Call to deprecated method setError\(\) of class Joomla\\CMS\\User\\User\: @@ -16193,7 +14829,7 @@ parameters: - message: ''' #^Usage of deprecated trait Joomla\\CMS\\Object\\LegacyPropertyManagementTrait in class Joomla\\CMS\\User\\User\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Will be removed without replacement Create proper setter functions for the individual properties or use a \\Joomla\\Registry\\Registry$# ''' @@ -16340,17 +14976,6 @@ parameters: count: 1 path: libraries/src/User/UserHelper.php - - - message: ''' - #^Instantiation of deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: new.deprecated - count: 1 - path: libraries/src/User/UserHelper.php - - message: ''' #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: @@ -16360,18 +14985,7 @@ parameters: Factory\:\:getContainer\(\)\-\>get\(DatabaseInterface\:\:class\);$# ''' identifier: staticMethod.deprecated - count: 2 - path: libraries/src/Versioning/Versioning.php - - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 2 + count: 4 path: libraries/src/Versioning/Versioning.php - @@ -16406,22 +15020,91 @@ parameters: - message: ''' - #^Call to deprecated method get\(\) of class Joomla\\CMS\\Adapter\\Adapter\: - 4\.3\.0 will be removed in 6\.0 + #^Call to deprecated method get\(\) of class Joomla\\CMS\\Installer\\Installer\: + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated count: 3 path: plugins/actionlog/joomla/src/Extension/Joomla.php + - + message: '#^Property Joomla\\CMS\\Application\\BaseApplication\:\:\$input is not writable\.$#' + identifier: assign.propertyReadOnly + count: 1 + path: plugins/behaviour/compat6/classes/Application/BaseApplication.php + - message: ''' - #^Call to deprecated method postStoreProcess\(\) of class Joomla\\CMS\\Helper\\TagsHelper\: - 5\.3 will be removed in 7\.0$# + #^Class Joomla\\CMS\\Application\\CLI\\Output\\Stdout extends deprecated class Joomla\\CMS\\Application\\CLI\\CliOutput\: + 4\.3 will be removed in 6\.0 + Use the `joomla/console` package instead$# ''' - identifier: method.deprecated - count: 3 - path: plugins/behaviour/taggable/src/Extension/Taggable.php + identifier: class.extendsDeprecatedClass + count: 1 + path: plugins/behaviour/compat6/classes/Application/CLI/Output/Stdout.php + + - + message: ''' + #^Class Joomla\\CMS\\Application\\CLI\\Output\\Xml extends deprecated class Joomla\\CMS\\Application\\CLI\\CliOutput\: + 4\.3 will be removed in 6\.0 + Use the `joomla/console` package instead$# + ''' + identifier: class.extendsDeprecatedClass + count: 1 + path: plugins/behaviour/compat6/classes/Application/CLI/Output/Xml.php + + - + message: '#^Unsafe usage of new static\(\)\.$#' + identifier: new.static + count: 1 + path: plugins/behaviour/compat6/classes/Filesystem/Patcher.php + + - + message: ''' + #^Call to method clean\(\) of deprecated class Joomla\\Filesystem\\Path\: + 4\.4 will be removed in 6\.0 + Use Joomla\\Filesystem\\Path instead\.$# + ''' + identifier: staticMethod.deprecatedClass + count: 1 + path: plugins/behaviour/compat6/classes/Filesystem/Path.php + + - + message: '#^Static call to instance method Joomla\\CMS\\Filesystem\\Support\\StringController\:\:getRef\(\)\.$#' + identifier: method.staticCall + count: 2 + path: plugins/behaviour/compat6/classes/Filesystem/Streams/StreamString.php + + - + message: ''' + #^Class Joomla\\CMS\\Input\\Cookie extends deprecated class Joomla\\CMS\\Input\\Input\: + 4\.3 will be removed in 6\.0\. + Use Joomla\\Input\\Input instead$# + ''' + identifier: class.extendsDeprecatedClass + count: 1 + path: plugins/behaviour/compat6/classes/Input/Cookie.php + + - + message: ''' + #^Class Joomla\\CMS\\Input\\Files extends deprecated class Joomla\\CMS\\Input\\Input\: + 4\.3 will be removed in 6\.0\. + Use Joomla\\Input\\Input instead$# + ''' + identifier: class.extendsDeprecatedClass + count: 1 + path: plugins/behaviour/compat6/classes/Input/Files.php + + - + message: ''' + #^Class Joomla\\CMS\\Input\\Json extends deprecated class Joomla\\CMS\\Input\\Input\: + 4\.3 will be removed in 6\.0\. + Use Joomla\\Input\\Input instead$# + ''' + identifier: class.extendsDeprecatedClass + count: 1 + path: plugins/behaviour/compat6/classes/Input/Json.php - message: ''' @@ -16447,12 +15130,11 @@ parameters: - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Language\\Language\: - 4\.3 will be removed in 6\.0 - Use the language factory instead - Example\: Factory\:\:getContainer\(\)\-\>get\(LanguageFactoryInterface\:\:class\)\-\>createLanguage\(\$lang, \$debug\);$# + #^Call to deprecated method getLanguage\(\) of class Joomla\\CMS\\Plugin\\CMSPlugin\: + 5\.2 will be removed in 7\.0 + Plugin should use the language from Application, and only after the app is initialised\.$# ''' - identifier: staticMethod.deprecated + identifier: method.deprecated count: 1 path: plugins/content/joomla/src/Extension/Joomla.php @@ -16608,24 +15290,6 @@ parameters: count: 1 path: plugins/editors/tinymce/src/Provider/TinyMCEProvider.php - - - message: '#^Call to an undefined method Joomla\\CMS\\Layout\\FileLayout\:\:getOptionsFromField\(\)\.$#' - identifier: method.notFound - count: 1 - path: plugins/fields/checkboxes/tmpl/checkboxes.php - - - - message: '#^Call to an undefined method Joomla\\CMS\\Layout\\FileLayout\:\:getOptionsFromField\(\)\.$#' - identifier: method.notFound - count: 1 - path: plugins/fields/list/tmpl/list.php - - - - message: '#^Call to an undefined method Joomla\\CMS\\Layout\\FileLayout\:\:getOptionsFromField\(\)\.$#' - identifier: method.notFound - count: 1 - path: plugins/fields/radio/tmpl/radio.php - - message: ''' #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: @@ -16639,8 +15303,8 @@ parameters: path: plugins/fields/sql/tmpl/sql.php - - message: '#^Call to an undefined method Joomla\\CMS\\Layout\\FileLayout\:\:getUserFactory\(\)\.$#' - identifier: method.notFound + message: '#^Call to protected method getUserFactory\(\) of class Joomla\\Plugin\\Fields\\User\\Extension\\User\.$#' + identifier: method.protected count: 1 path: plugins/fields/user/tmpl/user.php @@ -16670,7 +15334,7 @@ parameters: - message: ''' #^Call to deprecated method get\(\) of class Joomla\\CMS\\Updater\\Update\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated @@ -16732,24 +15396,13 @@ parameters: - message: ''' #^Call to deprecated method get\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3\.0 will be removed in 6\.0 + 4\.3\.0 will be removed in 7\.0 Create a proper getter function for the property$# ''' identifier: method.deprecated count: 1 path: plugins/sampledata/multilang/src/Extension/MultiLanguage.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 3 - path: plugins/sampledata/multilang/src/Extension/MultiLanguage.php - - message: ''' #^Call to deprecated method getError\(\) of class Joomla\\CMS\\MVC\\Model\\BaseModel\: @@ -16830,17 +15483,6 @@ parameters: count: 1 path: plugins/system/debug/src/Storage/FileStorage.php - - - message: ''' - #^Parameter \$item of method Joomla\\Plugin\\System\\GuidedTours\\Extension\\GuidedTours\:\:processTour\(\) has typehint with deprecated class Joomla\\CMS\\Object\\CMSObject\: - 4\.3 will be removed in 6\.0 - Use \\stdClass or \\Joomla\\Registry\\Registry instead\. - Example\: new \\Joomla\\Registry\\Registry\(\);$# - ''' - identifier: parameter.deprecatedClass - count: 1 - path: plugins/system/guidedtours/src/Extension/GuidedTours.php - - message: ''' #^Call to deprecated method getDbo\(\) of class Joomla\\CMS\\Factory\: @@ -16961,17 +15603,6 @@ parameters: count: 1 path: plugins/task/sitestatus/services/provider.php - - - message: ''' - #^Call to deprecated method getInstance\(\) of class Joomla\\CMS\\Table\\Table\: - 4\.3 will be removed in 6\.0 - Use the MvcFactory instead - Example\: Factory\:\:getApplication\(\)\-\>bootComponent\('\.\.\.'\)\-\>getMVCFactory\(\)\-\>createTable\(\$name, \$prefix, \$config\);$# - ''' - identifier: staticMethod.deprecated - count: 1 - path: plugins/task/updatenotification/src/Extension/UpdateNotification.php - - message: ''' #^Access to deprecated static property \$language of class Joomla\\CMS\\Factory\: diff --git a/phpstan.neon b/phpstan.neon index 86031ba033864..b4d7fa3a8c9f0 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -45,3 +45,4 @@ parameters: - plugins/* - message: '#Call to deprecated method \_\(\) of class Joomla\\CMS\\Language\\Language.*#' +