cypht-org / cypht

Cypht: Lightweight Open Source webmail aggregator [PHP, JS]. Supports IMAP/SMTP, JMAP and soon EWS
http://cypht.org
GNU Lesser General Public License v2.1
1.01k stars 161 forks source link

[FIX]Fix deprecated warnings for preg_match() and mb_strtolower() in Webmail sieve filters #1281

Closed Baraka24 closed 3 weeks ago

Baraka24 commented 1 month ago

While running: php console.php sieve:filters in Tiki see handle the filtering in Tiki , we are getting:

$ php console.php sieve:filters

Undefined variable $tikiroot on line 16 of C:\Apache24\htdocs\tiki1\tiki\lib\cypht\integration\classes.php preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated on line 179 of C:\Apache24\ht docs\tiki1\tiki\vendor_bundled\vendor\jason-munro\cypht\lib\request.php mb_strtolower(): Passing null to parameter #1 ($string) of type string is deprecated on line 194 of C:\Apache24\ htdocs\tiki1\tiki\vendor_bundled\vendor\jason-munro\cypht\lib\module.php