release 1.7.1

This commit is contained in:
Jean-Christian Paul Denis 2023-05-13 14:54:38 +02:00
parent 64201413a1
commit 4498aa06f0
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
4 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
1.7.1 - 2023.05.13
- require dotclear 2.26
- cosmetic cleanup for dc2.26 stable
1.7 - 2023.04.25 1.7 - 2023.04.25
- require dotclear 2.26 - require dotclear 2.26
- use namespace - use namespace

View File

@ -18,7 +18,7 @@ $this->registerModule(
'Moon phases', 'Moon phases',
'Display the moon phases on a widget', 'Display the moon phases on a widget',
'Tomtom, Pierre Van Glabeke and Contributors', 'Tomtom, Pierre Van Glabeke and Contributors',
'1.7', '1.7.1',
[ [
'requires' => [['core', '2.26']], 'requires' => [['core', '2.26']],
'permissions' => dcCore::app()->auth->makePermissions([ 'permissions' => dcCore::app()->auth->makePermissions([

View File

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="lunarPhase"> <module id="lunarPhase">
<name>Moon phases</name> <name>Moon phases</name>
<version>1.7</version> <version>1.7.1</version>
<author>Tomtom, Pierre Van Glabeke and Contributors</author> <author>Tomtom, Pierre Van Glabeke and Contributors</author>
<desc>Display the moon phases on a widget</desc> <desc>Display the moon phases on a widget</desc>
<file>https://github.com/JcDenis/lunarPhase/releases/download/v1.7/plugin-lunarPhase.zip</file> <file>https://github.com/JcDenis/lunarPhase/releases/download/v1.7.1/plugin-lunarPhase.zip</file>
<da:dcmin>2.26</da:dcmin> <da:dcmin>2.26</da:dcmin>
<da:details>https://plugins.dotaddict.org/dc2/details/lunarPhase</da:details> <da:details>https://plugins.dotaddict.org/dc2/details/lunarPhase</da:details>
<da:support>http://forum.dotclear.org/viewtopic.php?pid=332971#p332971</da:support> <da:support>http://forum.dotclear.org/viewtopic.php?pid=332971#p332971</da:support>

View File

@ -21,7 +21,7 @@ use dcCore;
*/ */
class My class My
{ {
/** @var array List of lunar phase => image */ /** @var array<string,string> List of lunar phase => image */
public const LUNAR_PHASES = [ public const LUNAR_PHASES = [
'new_moon' => 'nm.png', 'new_moon' => 'nm.png',
'waxing_crescent_moon' => 'wcm1.png', 'waxing_crescent_moon' => 'wcm1.png',