diff --git a/.drone.yml b/.drone.yml
index 076b5064f8977..954b3df2b709c 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -415,11 +415,11 @@ steps:
path: /reference
when:
branch:
- - 4.1-dev
+ - 4.2-dev
---
kind: signature
-hmac: daa8e5588cc88058bc57aadf35e3d9dd55eefaa9419c457ce374a0dd19eb7cda
+hmac: d9707d261edba35bc6b70f09a1babee119cb0a88cebda40171248e5c0a8b135e
...
diff --git a/README.md b/README.md
index 54e3d085974dd..6ca05e6ba09cb 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-Joomla! CMS™
+Joomla! CMS™
====================
Build Status
@@ -11,8 +11,8 @@ Overview
---------------------
* This is the source of Joomla! 4.x.
* Joomla's [Official website](https://www.joomla.org).
-* Joomla! 4.1 [version history](https://docs.joomla.org/Special:MyLanguage/Joomla_4.1_version_history).
-* Detailed changes are in the [changelog](https://github.com/joomla/joomla-cms/commits/4.0-dev).
+* Joomla! 4.2 [version history](https://docs.joomla.org/Special:MyLanguage/Joomla_4.2_version_history).
+* Detailed changes are in the [changelog](https://github.com/joomla/joomla-cms/commits/4.2-dev).
What is Joomla?
---------------------
@@ -47,7 +47,7 @@ cd joomla-cms
```
- Go to the 4.0-dev branch:
```bash
-git checkout 4.0-dev
+git checkout 4.2-dev
```
- Install all the needed composer packages:
```bash
diff --git a/README.txt b/README.txt
index a4539409f9872..d36d3afafc030 100644
--- a/README.txt
+++ b/README.txt
@@ -3,8 +3,8 @@ Joomla! CMS™
1- Overview
* This is a Joomla! 4.x installation/upgrade package.
* Joomla! Official site: https://www.joomla.org
- * Joomla! 4.1 version history - https://docs.joomla.org/Special:MyLanguage/Joomla_4.1_version_history
- * Detailed changes in the Changelog: https://github.com/joomla/joomla-cms/commits/4.0-dev
+ * Joomla! 4.2 version history - https://docs.joomla.org/Special:MyLanguage/Joomla_4.2_version_history
+ * Detailed changes in the Changelog: https://github.com/joomla/joomla-cms/commits/4.2-dev
2- What is Joomla?
* Joomla! is a Content Management System (CMS) which enables you to build websites and powerful online applications.
diff --git a/administrator/components/com_associations/src/Helper/AssociationsHelper.php b/administrator/components/com_associations/src/Helper/AssociationsHelper.php
index c5042cb8bb432..6ffe26d80aa48 100644
--- a/administrator/components/com_associations/src/Helper/AssociationsHelper.php
+++ b/administrator/components/com_associations/src/Helper/AssociationsHelper.php
@@ -106,7 +106,7 @@ public static function getItem($extensionName, $typeName, $itemId)
{
if (!self::hasSupport($extensionName))
{
- return array();
+ return null;
}
// Get the extension specific helper method
@@ -176,7 +176,7 @@ private static function loadHelper($extensionName)
*
* @param string $extensionName The extension name with com_
*
- * @return boolean
+ * @return string
*
* @since 3.7.0
*/
diff --git a/administrator/components/com_categories/src/Model/CategoryModel.php b/administrator/components/com_categories/src/Model/CategoryModel.php
index cdff9e7b88b5b..1d01605d19817 100644
--- a/administrator/components/com_categories/src/Model/CategoryModel.php
+++ b/administrator/components/com_categories/src/Model/CategoryModel.php
@@ -345,7 +345,7 @@ protected function loadFormData()
if (!$data->id)
{
// Check for which extension the Category Manager is used and get selected fields
- $extension = substr($app->getUserState('com_categories.categories.filter.extension'), 4);
+ $extension = substr($app->getUserState('com_categories.categories.filter.extension', ''), 4);
$filters = (array) $app->getUserState('com_categories.categories.' . $extension . '.filter');
$data->set(
diff --git a/administrator/components/com_config/src/View/Component/HtmlView.php b/administrator/components/com_config/src/View/Component/HtmlView.php
index 7cab257502611..2da29fe74f0de 100644
--- a/administrator/components/com_config/src/View/Component/HtmlView.php
+++ b/administrator/components/com_config/src/View/Component/HtmlView.php
@@ -66,7 +66,7 @@ public function display($tpl = null)
if (!$component->enabled)
{
- return false;
+ return;
}
$form = $this->get('form');
@@ -76,7 +76,7 @@ public function display($tpl = null)
{
Factory::getApplication()->enqueueMessage($e->getMessage(), 'error');
- return false;
+ return;
}
$this->fieldsets = $form ? $form->getFieldsets() : null;
diff --git a/administrator/components/com_contact/src/Service/HTML/AdministratorService.php b/administrator/components/com_contact/src/Service/HTML/AdministratorService.php
index 9bb656da8064c..7255f69339d97 100644
--- a/administrator/components/com_contact/src/Service/HTML/AdministratorService.php
+++ b/administrator/components/com_contact/src/Service/HTML/AdministratorService.php
@@ -34,7 +34,7 @@ class AdministratorService
*
* @return string The language HTML
*
- * @throws Exception
+ * @throws \Exception
*/
public function association($contactid)
{
diff --git a/administrator/components/com_content/forms/article.xml b/administrator/components/com_content/forms/article.xml
index 88cefa8d3d71a..0a37b2d41aebb 100644
--- a/administrator/components/com_content/forms/article.xml
+++ b/administrator/components/com_content/forms/article.xml
@@ -920,11 +920,13 @@
- +
diff --git a/administrator/components/com_templates/src/Model/TemplateModel.php b/administrator/components/com_templates/src/Model/TemplateModel.php index 36afddbf29757..bd5f3fd1c3544 100644 --- a/administrator/components/com_templates/src/Model/TemplateModel.php +++ b/administrator/components/com_templates/src/Model/TemplateModel.php @@ -273,9 +273,9 @@ function ($a, $b) /** * Prepare core files. * - * @param string $dir The path of the directory to scan. - * @param string $element The path of the template element. - * @param stdClass $template The stdClass object of template. + * @param string $dir The path of the directory to scan. + * @param string $element The path of the template element. + * @param \stdClass $template The stdClass object of template. * * @return array * diff --git a/administrator/language/en-GB/install.xml b/administrator/language/en-GB/install.xml index c8659ad484aeb..dacc5f79ed5bd 100644 --- a/administrator/language/en-GB/install.xml +++ b/administrator/language/en-GB/install.xml @@ -2,7 +2,7 @@