Marcus Bointon
6631e9049e
Merge pull request #3276 from jrfnl/feature/use-phpcompatibility-10.0
...
Use PHPCompatibility 10.0.0(-alpha1)
2025-11-25 07:58:05 +01:00
jrfnl
c24a4147cd
PHPCS: add a few more selective ignores
...
... for things already handled correctly in the code.
2025-11-23 05:23:36 +01:00
jrfnl
d34204b729
Tests: remove unused import `use` statements
2025-11-23 04:49:42 +01:00
Marcus Bointon
ad2821203f
Unset From address to check default CID behaviour
2025-10-06 09:28:56 +02:00
Marcus Bointon
c09730a7d7
CS
2025-10-06 09:10:51 +02:00
Mariusz Krzaczkowski
0f9ebf7c3c
Update PHPMailerTest.php
2025-10-06 09:10:51 +02:00
Mariusz Krzaczkowski
6aad52aa06
Update PHPMailerTest.php
2025-10-06 09:10:51 +02:00
Mariusz Krzaczkowski
7a18c0bc98
Update PHPMailerTest.php
2025-10-06 09:10:51 +02:00
Mariusz Krzaczkowski
2e38fff8f3
Add cid default domain
2025-10-06 09:10:51 +02:00
Marcus Bointon
39a1bc905c
Merge pull request #3237 from SirLouen/patch/3234
...
Reply-To to Indexed Array Conversion
2025-09-29 18:28:02 +02:00
SirLouen
8e8b503db9
Doing some cleaning up
2025-09-26 22:16:18 +02:00
SirLouen
bcc4d84893
Reply-To to Indexed Array Conversion
2025-09-26 22:05:05 +02:00
SirLouen
1191a4ef0b
Better use expectException
2025-09-26 02:36:03 +02:00
SirLouen
5060f5405c
Switching to expectError
2025-09-26 02:00:15 +02:00
SirLouen
cae960ed2b
Remove xdebug function
2025-09-26 01:51:06 +02:00
SirLouen
95ff455f9d
Adding #3235 and reorganizing tests
2025-09-26 01:07:01 +02:00
SirLouen
bda1fee442
Merge branch 'master' into patch/3201
2025-09-25 14:20:23 +02:00
Marcus Bointon
a49806c893
Merge branch 'master' into patch/3199
2025-09-24 18:35:25 +01:00
Manuel Camargo
6cab1544fa
Merge branch 'master' into patch/3201
2025-09-12 13:41:55 +02:00
Marcus Bointon
4c917a9b46
CS
2025-09-11 23:16:50 +02:00
Georg Sieber
5470c1e795
add test
2025-09-11 22:52:01 +02:00
Manuel Camargo
6a6e66abf4
Merge branch 'master' into patch/3201
2025-09-11 14:42:41 +02:00
SirLouen
b1b1f65f0b
Merge branch 'master' into patch/3201
2025-09-11 14:32:06 +02:00
SirLouen
7e61c84718
Add an extra test
2025-09-09 17:18:43 +02:00
SirLouen
3c93e8d6f3
Adding Temporary Specific Tests for Native Function
2025-08-24 16:03:51 +02:00
SirLouen
69a2b8038f
Removing Tests. Reintroducing them fixed in #3197
2025-08-24 15:37:42 +02:00
SirLouen
b41dd255a2
Staticfying the Language Pack
2025-08-23 16:16:14 +02:00
Marcus Bointon
fef2d5cf15
Merge branch 'master' into patch/3201
2025-08-22 10:46:57 +02:00
Marcus Bointon
f78d341f06
Merge pull request #3191 from jrfnl/feature/fix-test-runtime-deprecations-php-8.5
...
PHP 8.5 | Tests: prevent deprecation notice for Reflection*::setAccessible()
2025-08-22 10:45:27 +02:00
jrfnl
855bf067fc
Fix linting issue on PHP 8.5
...
As per the options described in https://github.com/PHPMailer/PHPMailer/pull/3202#issuecomment-3212478928 .
Note: the linting ignore comment triggers some PHPCS errors (_sigh_), so I'm selectively excluding those.
Alternatively, it could be considered to exclude test fixture files completely from the PHPCS scan.
2025-08-22 02:27:01 +02:00
Marcus Bointon
da0cffbc05
CS
2025-08-21 10:23:38 +02:00
SirLouen
f1255a0a55
Deprecation & Composer Updates
2025-08-19 16:00:45 +02:00
SirLouen
f7b82634c9
Return useimap for BC
2025-08-17 12:28:52 +02:00
SirLouen
99b482752e
Final Act including iconv_mime_decode
2025-08-17 00:01:46 +02:00
SirLouen
d2fc22a4f1
Fixing #3204
2025-08-16 18:28:42 +02:00
SirLouen
a3ddc21741
Adding Tests
2025-08-16 00:05:45 +02:00
SirLouen
2f92d9c841
Improving Copy for mbstring intl test requirements
2025-08-12 23:50:19 +02:00
jrfnl
096b24646e
PHP 8.5 | Tests: prevent deprecation notice for Reflection*::setAccessible()
...
Since PHP 8.1, calling the `Reflection*::setAccessible()` methods is no longer necessary as reflected properties/methods/etc will always be accessible.
However, the method calls are still needed for PHP < 8.1.
As of PHP 8.5, calling the `Reflection*::setAccessible()` methods is now formally deprecated and will yield a deprecation notice, which will fail test runs.
As of PHP 9.0, the `setAccessible()` method(s) will be removed.
With the latter in mind, this commit prevents the deprecation notice by making the calls to `setAccessible()` conditional.
Silencing the deprecation would mean, this would need to be "fixed" again come PHP 9.0, while the current solution should be stable, including for PHP 9.0.
Ref: https://wiki.php.net/rfc/deprecations_php_8_5#extreflection_deprecations
2025-08-10 05:38:47 +02:00
Marcus Bointon
80b6275ebc
Skip this test when UTF-8 isn't usable
2025-04-23 21:42:01 +02:00
Marcus Bointon
fc6779f050
Fail to add an address if it uses 8-bit chars in the domain, but we are missing extensions to support IDN.
2025-04-10 16:10:46 +02:00
Marcus Bointon
1db5c74f76
Use existing function to check for test config
2025-04-09 14:35:24 +02:00
Arnt Gulbrandsen
d31cb27117
Adjust eai regex to disallow emoji and letters/numbers.
...
Update a few tests to match the recent changes.
Use the eai validator (unless another is being used) for addresses such as
info@müller-schmidt.de, for which PHPMailer may not choose to use SMTPUTF8.
2025-04-09 14:13:35 +02:00
Marcus Bointon
29a04c283a
Consistent quotes
2025-04-09 14:13:09 +02:00
Arnt Gulbrandsen
e588719eec
Send unencoded UTF8 in subject/body text when SMTPUTF8 allows that.
2025-04-09 14:12:59 +02:00
Arnt Gulbrandsen
2f0af94d33
Set UseSMTPUTF8 fully automatically when needed
...
This makes SMTPUTF8 support the default when the user chooses to use UTF-8
as charset, without affecting code that uses ISO 8859-1.
2025-04-09 14:12:59 +02:00
Marcus Bointon
c6d62ac4af
Comment
2025-04-09 14:12:55 +02:00
Marcus Bointon
7cda202270
Check explicit validation
2025-04-09 14:12:51 +02:00
Marcus Bointon
bfd4c3db1a
Choose a validator that should fail
2025-04-09 14:12:45 +02:00
Marcus Bointon
321aeb200d
Typo
2025-04-09 14:12:42 +02:00
Marcus Bointon
c1c3b24e9c
Unicode is a proper name
2025-04-09 14:12:35 +02:00