Skip to content

Commit

Permalink
2.1.2
Browse files Browse the repository at this point in the history
Joomla 5.x compatibility
  • Loading branch information
conseilgouz committed Oct 11, 2023
1 parent c829ee3 commit e5ae33f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 11 deletions.
8 changes: 4 additions & 4 deletions script.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/**
* Simple Accordeon Plugin - Joomla 4.0.0 Module
* Version : 2.1.0
* Simple Accordeon Plugin - Joomla 4.x/5.x plugin
* Version : 2.1.2
* Package : Simple Accordeon Plugin
* copyright : Copyright (C) 2023 ConseilGouz. All rights reserved.
* license : http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
* license : https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
*/
// No direct access to this file
defined('_JEXEC') or die;
Expand All @@ -18,7 +18,7 @@
class plgcontentsimpleaccordeonInstallerScript
{
private $min_joomla_version = '4.0.0';
private $min_php_version = '7.2';
private $min_php_version = '7.4';
private $name = 'Plugin Simple Accordeon';
private $exttype = 'plugin';
private $extname = 'simpleaccordeon';
Expand Down
9 changes: 5 additions & 4 deletions services/provider.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/**
* @version 2.1.0
* @version 2.1.2
* @package Simple Accordeon content plugin
* @author ConseilGouz
* @copyright Copyright (C) 2023 ConseilGouz. All rights reserved.
* @license GNU/GPL v2; see LICENSE.php
* @license GNU/GPL v3; see LICENSE.php
**/
defined('_JEXEC') or die;

Expand All @@ -31,8 +31,9 @@ public function register(Container $container)
$container->set(
PluginInterface::class,
function (Container $container) {
$plugin = new Simpleaccordeon(
$container->get(DispatcherInterface::class),
$dispatcher = $container->get(DispatcherInterface::class);
$plugin = new Simpleaccordeon(
$dispatcher,
(array) PluginHelper::getPlugin('content', 'simpleaccordeon')
);
$plugin->setApplication(Factory::getApplication());
Expand Down
6 changes: 3 additions & 3 deletions simpleaccordeon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<extension version="4.0" type="plugin" group="content" method="upgrade">
<name>Contenu - Accordeon dans les articles</name>
<author>ConseilGouz</author>
<creationDate>2023-09-29</creationDate>
<creationDate>2023-10-11</creationDate>
<copyright>Copyright (C) 2023 ConseilGouz. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<license>https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL</license>
<authorEmail>pascal.leconte@conseilgouz.com</authorEmail>
<authorUrl>www.conseilgouz.com</authorUrl>
<version>2.1.1</version>
<version>2.1.2</version>
<description>SPACCDESC</description>
<namespace path="src">ConseilGouz\Plugin\Content\Simpleaccordeon</namespace>
<files>
Expand Down
12 changes: 12 additions & 0 deletions simpleaccordeon_changelog.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
<changelogs>
<changelog>
<element>simpleaccordeon</element>
<type>plugin</type>
<group>content</group>
<version>2.1.2</version>
<note>
<item>Update : 11/10/2023</item>
</note>
<fix>
<item>Joomla 5 compatibility</item>
</fix>
</changelog>
<changelog>
<element>simpleaccordeon</element>
<type>plugin</type>
Expand Down

0 comments on commit e5ae33f

Please sign in to comment.