Skip to content

Commit 1d7a1c0

Browse files
committed
udpdate changelog and fix php-cs-fixer
1 parent 5f56820 commit 1d7a1c0

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

changelog.txt

+4-3
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,21 @@
77
*/
88

99
- V 2.4.0 - 2022- #202 V2.3.1: les modes sombre et clair sont inversés
10-
#205 Captcha box is not visible (Clarify behavior of V3 keys )
10+
#205 Captcha box is not visible (Clarify behavior of V3 keys)
1111
#184 Don't require recaptcha for logged in clients
1212
#217 Allow to validate custom forms
1313
#169 Problème lors de la validation de mon formulaire
1414
#165 Rename Hook hookActionContactFormSubmitCaptcha
15-
- V 2.3.1 - 2021-09-29 : #201 Added displayNewsletterRegistration hook to installation method ( thanks to gdebrion )
15+
#162 V2.0.4 not detect PS language switching (thanks to metacreo)
16+
- V 2.3.1 - 2021-09-29 : #201 Added displayNewsletterRegistration hook to installation method (thanks to gdebrion)
1617
- V 2.3.0 - 2021-09-06 : #94 Recaptcha v3
1718
#188 Compatible with reCaptcha V3 (V2 is not available anymore on Google reCaptcha Entreprise)
1819
#113 not compatible with recaptcha V3
1920
#195 Improve debug information
2021
#196 Improve Code quality : introduce phpcsfixer and phpstan
2122
- V 2.2.0 - 2021-08-10 : Code refactoring
2223
- V 2.1.1 - 2021-04-16 : #186 Wrong ps_emailsubscription version comparison
23-
- V 2.1.0 - 2021-03-15 : Add support for newsletter registration ( in certain conditions )
24+
- V 2.1.0 - 2021-03-15 : Add support for newsletter registration (in certain conditions)
2425
#164 eicaptcha newsletter filtering
2526
#179 Better display debug mode in back office
2627
#180 Display link to github issues in debug module

eicaptcha.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ public function hookDisplayCustomerAccountForm($params)
273273
'captchaVersion' => Configuration::get('CAPTCHA_VERSION'),
274274
'publicKey' => Configuration::get('CAPTCHA_PUBLIC_KEY'),
275275
'captchalang' => $this->captchaLang,
276-
'captchatheme' => $this->themes[Configuration::get('CAPTCHA_THEME')]
276+
'captchatheme' => $this->themes[Configuration::get('CAPTCHA_THEME')],
277277
]);
278278

279279
return $this->display(__FILE__, 'views/templates/hook/hookDisplayCustomerAccountForm.tpl');
@@ -370,7 +370,7 @@ public function hookDisplayNewsletterRegistration($params)
370370
'captchaVersion' => Configuration::get('CAPTCHA_VERSION'),
371371
'publicKey' => Configuration::get('CAPTCHA_PUBLIC_KEY'),
372372
'captchalang' => $this->captchaLang,
373-
'captchatheme' => $this->themes[Configuration::get('CAPTCHA_THEME')]
373+
'captchatheme' => $this->themes[Configuration::get('CAPTCHA_THEME')],
374374
]);
375375

376376
return $this->display(__FILE__, 'views/templates/hook/hookDisplayNewsletterRegistration.tpl');
@@ -449,7 +449,7 @@ public function hookActionGetEicaptchaParams($params)
449449
'captchaVersion' => Configuration::get('CAPTCHA_VERSION'),
450450
'publicKey' => Configuration::get('CAPTCHA_PUBLIC_KEY'),
451451
'captchaforcelang' => Configuration::get('CAPTCHA_FORCE_LANG'),
452-
'captchatheme' => $this->themes[Configuration::get('CAPTCHA_THEME')]
452+
'captchatheme' => $this->themes[Configuration::get('CAPTCHA_THEME')],
453453
];
454454
}
455455

@@ -467,7 +467,7 @@ public function hookDisplayEicaptchaVerification($params)
467467
'captchaVersion' => Configuration::get('CAPTCHA_VERSION'),
468468
'publicKey' => Configuration::get('CAPTCHA_PUBLIC_KEY'),
469469
'captchalang' => $this->captchaLang,
470-
'captchatheme' => $this->themes[Configuration::get('CAPTCHA_THEME')]
470+
'captchatheme' => $this->themes[Configuration::get('CAPTCHA_THEME')],
471471
]);
472472

473473
return $this->display(__FILE__, 'views/templates/hook/hookDisplayEicaptchaVerification.tpl');

0 commit comments

Comments
 (0)