Open vortrixs opened 2 years ago
https://github.com/kodus/mail/blob/92f2ce02538413a369136b3f91664984d50f7d98/src/Message.php#L347-L351 This will trigger a deprecation warning if null is passed because preg_match only accepts strings as of PHP 8.
preg_match
Error: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated
preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated
https://github.com/kodus/mail/blob/92f2ce02538413a369136b3f91664984d50f7d98/src/Message.php#L347-L351 This will trigger a deprecation warning if null is passed because
preg_match
only accepts strings as of PHP 8.Error:
preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated