[postfixadmin/postfixadmin] 476b20: tidy up unit tests (phpunit warnings)
Brought to you by:
christian_boltz,
gingerdog
From: David G. <no...@gi...> - 2024-11-12 20:13:43
|
Branch: refs/heads/master Home: https://github.com/postfixadmin/postfixadmin Commit: 476b203c0dcd92495d462db61a8a1de9bbe7e74e https://github.com/postfixadmin/postfixadmin/commit/476b203c0dcd92495d462db61a8a1de9bbe7e74e Author: David Goodwin <da...@co...> Date: 2024-11-12 (Tue, 12 Nov 2024) Changed paths: M tests/PacryptTest.php M tests/PasswordValidationCallableTest.php Log Message: ----------- tidy up unit tests (phpunit warnings) Commit: 24b3b12581ee83ba200ccf1e8c148712afd54fed https://github.com/postfixadmin/postfixadmin/commit/24b3b12581ee83ba200ccf1e8c148712afd54fed Author: David Goodwin <da...@co...> Date: 2024-11-12 (Tue, 12 Nov 2024) Changed paths: M model/MailboxHandler.php M tests/MailboxHandlerTest.php Log Message: ----------- MailboxHandler: change mailbox_postcreation_hook and maildir_name_hook CONF callable check to use is_callable() and not is_string() && function_exists() - this should allow someone to define a PHP 7+ style anonymous function within their config, add unit test to illustrate behaviour etc see also #869 and #812 Compare: https://github.com/postfixadmin/postfixadmin/compare/a61dd62c6e88...24b3b12581ee To unsubscribe from these emails, change your notification settings at https://github.com/postfixadmin/postfixadmin/settings/notifications |