Patch |
File delta |
Description |
0001 Fix PHPUnit method signatures.patch | (download) |
tests/SwiftMailerSmokeTestCase.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/ByteStream/FileByteStreamAcceptanceTest.php |
4 2 + 2 - 0 !
tests/acceptance/Swift/CharacterReaderFactory/SimpleCharacterReaderFactoryAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Encoder/Base64EncoderAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Encoder/QpEncoderAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Encoder/Rfc2231EncoderAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/KeyCache/ArrayKeyCacheAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/KeyCache/DiskKeyCacheAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Mime/AttachmentAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Mime/ContentEncoder/Base64ContentEncoderAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Mime/ContentEncoder/NativeQpContentEncoderAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Mime/ContentEncoder/PlainContentEncoderAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Mime/ContentEncoder/QpContentEncoderAcceptanceTest.php |
4 2 + 2 - 0 !
tests/acceptance/Swift/Mime/EmbeddedFileAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Mime/HeaderEncoder/Base64HeaderEncoderAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Mime/MimePartAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Mime/SimpleMessageAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/AbstractStreamBufferAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/BasicSocketAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/ProcessAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/SocketTimeoutTest.php |
4 2 + 2 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/SslSocketAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/TlsSocketAcceptanceTest.php |
2 1 + 1 - 0 !
tests/bug/Swift/Bug118Test.php |
2 1 + 1 - 0 !
tests/bug/Swift/Bug206Test.php |
2 1 + 1 - 0 !
tests/bug/Swift/Bug34Test.php |
2 1 + 1 - 0 !
tests/bug/Swift/Bug35Test.php |
2 1 + 1 - 0 !
tests/bug/Swift/Bug38Test.php |
2 1 + 1 - 0 !
tests/bug/Swift/Bug51Test.php |
4 2 + 2 - 0 !
tests/bug/Swift/Bug71Test.php |
2 1 + 1 - 0 !
tests/bug/Swift/Bug76Test.php |
4 2 + 2 - 0 !
tests/smoke/Swift/Smoke/AttachmentSmokeTest.php |
2 1 + 1 - 0 !
tests/smoke/Swift/Smoke/HtmlWithAttachmentSmokeTest.php |
2 1 + 1 - 0 !
tests/smoke/Swift/Smoke/InternationalSmokeTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/CharacterReader/UsAsciiReaderTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/CharacterReader/Utf8ReaderTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/DependencyContainerTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Encoder/Base64EncoderTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Events/SimpleEventDispatcherTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Mime/ContentEncoder/Base64ContentEncoderTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Mime/SimpleHeaderFactoryTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Plugins/BandwidthMonitorPluginTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Plugins/Reporters/HitReporterTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Plugins/Reporters/HtmlReporterTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Signers/OpenDKIMSignerTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Signers/SMimeSignerTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Transport/Esmtp/Auth/CramMd5AuthenticatorTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Transport/Esmtp/Auth/LoginAuthenticatorTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Transport/Esmtp/Auth/NTLMAuthenticatorTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Transport/Esmtp/Auth/PlainAuthenticatorTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Transport/Esmtp/AuthHandlerTest.php |
2 1 + 1 - 0 !
51 files changed, 56 insertions(+), 56 deletions(-) |
fix phpunit method signatures
|
0002 Handle the case of missing DES ECB cipher support.patch | (download) |
lib/classes/Swift/Transport/Esmtp/Auth/NTLMAuthenticator.php |
3 3 + 0 - 0 !
tests/unit/Swift/Transport/Esmtp/Auth/NTLMAuthenticatorTest.php |
4 4 + 0 - 0 !
2 files changed, 7 insertions(+) |
handle the case of missing des-ecb cipher support
One feature requires the DES-ECB cipher from the OpenSSL extension,
which is nowadays deemed insecure and thus no longer supported.
|
0003 Fix PHP 8.2 deprecations.patch | (download) |
lib/classes/Swift/Attachment.php |
5 2 + 3 - 0 !
lib/classes/Swift/EmbeddedFile.php |
5 2 + 3 - 0 !
lib/classes/Swift/Message.php |
5 2 + 3 - 0 !
lib/classes/Swift/MimePart.php |
5 2 + 3 - 0 !
tests/acceptance/Swift/Mime/AttachmentAcceptanceTest.php |
1 1 + 0 - 0 !
tests/acceptance/Swift/Mime/EmbeddedFileAcceptanceTest.php |
1 1 + 0 - 0 !
tests/acceptance/Swift/Mime/MimePartAcceptanceTest.php |
1 1 + 0 - 0 !
7 files changed, 11 insertions(+), 12 deletions(-) |
fix php 8.2 deprecations
|
0004 Fix deprecation warnings in test.patch | (download) |
tests/unit/Swift/CharacterStream/ArrayCharacterStreamTest.php |
4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-) |
fix deprecation warnings in test
"shouldNotReceive(), never(), times(0) chaining additional invocation
count methods has been deprecated and will throw an exception in a
future version of Mockery"
|
0005 Drop TestListener.patch | (download) |
phpunit.xml.dist |
1 0 + 1 - 0 !
1 file changed, 1 deletion(-) |
drop testlistener
It has been removed from php-mockery for the PHPUnit 11 transition.
|
declare dataProvider functions as static.patch | (download) |
tests/bug/Swift/Bug650Test.php |
2 1 + 1 - 0 !
tests/unit/Swift/Mime/ContentEncoder/PlainContentEncoderTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Transport/EsmtpTransportTest.php |
2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-) |
declare dataprovider functions as static
|
use rector to change withConsecutive to willReturnCallbac.patch | (download) |
tests/acceptance/Swift/ByteStream/FileByteStreamAcceptanceTest.php |
52 32 + 20 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/AbstractStreamBufferAcceptanceTest.php |
52 32 + 20 - 0 !
tests/unit/Swift/ByteStream/ArrayByteStreamTest.php |
52 32 + 20 - 0 !
tests/unit/Swift/KeyCache/SimpleKeyCacheInputStreamTest.php |
58 44 + 14 - 0 !
tests/unit/Swift/Mime/SimpleHeaderSetTest.php |
385 231 + 154 - 0 !
5 files changed, 371 insertions(+), 228 deletions(-) |
use rector to change withconsecutive() to willreturncallback()
|
use PHPUnit 11.5 XML configuration schema.patch | (download) |
phpunit.xml.dist |
15 5 + 10 - 0 !
1 file changed, 5 insertions(+), 10 deletions(-) |
use phpunit 11.5 xml configuration schema
|
do not use addToAssertionCount in empty tests.patch | (download) |
tests/acceptance/Swift/DependencyContainerAcceptanceTest.php |
5 3 + 2 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/ProcessAcceptanceTest.php |
6 6 + 0 - 0 !
tests/bug/Swift/Bug274Test.php |
4 3 + 1 - 0 !
tests/unit/Swift/MessageTest.php |
4 0 + 4 - 0 !
tests/unit/Swift/Mime/EmbeddedFileTest.php |
5 3 + 2 - 0 !
tests/unit/Swift/Mime/SimpleMessageTest.php |
5 3 + 2 - 0 !
tests/unit/Swift/Signers/OpenDKIMSignerTest.php |
6 6 + 0 - 0 !
tests/unit/Swift/Transport/EsmtpTransportTest.php |
5 3 + 2 - 0 !
8 files changed, 27 insertions(+), 13 deletions(-) |
do not use addtoassertioncount() in empty tests
label tests that do not make assertions appropriately
or mark them as incomplete if empty
|
switch to using createMock.patch | (download) |
tests/acceptance/Swift/ByteStream/FileByteStreamAcceptanceTest.php |
2 1 + 1 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/AbstractStreamBufferAcceptanceTest.php |
4 2 + 2 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/SocketTimeoutTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/ByteStream/ArrayByteStreamTest.php |
12 6 + 6 - 0 !
tests/unit/Swift/Events/CommandEventTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Events/ResponseEventTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Events/SendEventTest.php |
4 2 + 2 - 0 !
tests/unit/Swift/Events/SimpleEventDispatcherTest.php |
44 22 + 22 - 0 !
tests/unit/Swift/Events/TransportChangeEventTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Events/TransportExceptionEventTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/KeyCache/ArrayKeyCacheTest.php |
6 3 + 3 - 0 !
tests/unit/Swift/KeyCache/SimpleKeyCacheInputStreamTest.php |
6 3 + 3 - 0 !
tests/unit/Swift/Mime/AbstractMimeEntityTest.php |
4 2 + 2 - 0 !
tests/unit/Swift/Mime/SimpleHeaderFactoryTest.php |
4 2 + 2 - 0 !
tests/unit/Swift/Mime/SimpleHeaderSetTest.php |
4 2 + 2 - 0 !
tests/unit/Swift/Plugins/AntiFloodPluginTest.php |
8 3 + 5 - 0 !
tests/unit/Swift/Plugins/BandwidthMonitorPluginTest.php |
14 4 + 10 - 0 !
tests/unit/Swift/Plugins/LoggerPluginTest.php |
20 6 + 14 - 0 !
tests/unit/Swift/Plugins/PopBeforeSmtpPluginTest.php |
8 3 + 5 - 0 !
tests/unit/Swift/Plugins/RedirectingPluginTest.php |
4 1 + 3 - 0 !
tests/unit/Swift/Plugins/Reporters/HitReporterTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Plugins/Reporters/HtmlReporterTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Transport/StreamBufferTest.php |
4 2 + 2 - 0 !
23 files changed, 71 insertions(+), 91 deletions(-) |
switch to using createmock()
|
use Group attribute instead of deprecated group.patch | (download) |
tests/smoke/Swift/Smoke/AttachmentSmokeTest.php |
4 1 + 3 - 0 !
tests/smoke/Swift/Smoke/BasicSmokeTest.php |
4 1 + 3 - 0 !
tests/smoke/Swift/Smoke/HtmlWithAttachmentSmokeTest.php |
4 1 + 3 - 0 !
tests/smoke/Swift/Smoke/InternationalSmokeTest.php |
4 1 + 3 - 0 !
4 files changed, 4 insertions(+), 12 deletions(-) |
use group attribute instead of deprecated @group
|
switch to willReturnCallback.patch | (download) |
tests/unit/Swift/Events/SimpleEventDispatcherTest.php |
4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-) |
switch to willreturncallback()
|
simplify createHeader.patch | (download) |
tests/unit/Swift/Mime/SimpleHeaderSetTest.php |
20 8 + 12 - 0 !
1 file changed, 8 insertions(+), 12 deletions(-) |
simplify createheader()
|
fix mock callback closures.patch | (download) |
tests/unit/Swift/Mime/SimpleHeaderSetTest.php |
163 83 + 80 - 0 !
1 file changed, 83 insertions(+), 80 deletions(-) |
fix mock callback closures
|
fix remaining test errors and failures with PHPUnit 11.5.patch | (download) |
tests/acceptance/Swift/DependencyContainerAcceptanceTest.php |
5 2 + 3 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/ProcessAcceptanceTest.php |
9 3 + 6 - 0 !
tests/bug/Swift/Bug274Test.php |
6 3 + 3 - 0 !
tests/bug/Swift/Bug650Test.php |
10 3 + 7 - 0 !
tests/bug/Swift/BugFileByteStreamConsecutiveReadCallsTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Mime/ContentEncoder/PlainContentEncoderTest.php |
6 3 + 3 - 0 !
tests/unit/Swift/Mime/EmbeddedFileTest.php |
4 1 + 3 - 0 !
tests/unit/Swift/Mime/SimpleMessageTest.php |
4 1 + 3 - 0 !
tests/unit/Swift/Transport/EsmtpTransportTest.php |
10 4 + 6 - 0 !
9 files changed, 21 insertions(+), 35 deletions(-) |
fix remaining test errors and failures with phpunit 11.5
|
exclude abstract test classes to avoid warnings.patch | (download) |
phpunit.xml.dist |
4 4 + 0 - 0 !
1 file changed, 4 insertions(+) |
exclude abstract test classes to avoid warnings
|
change abstract class suffix to TestCase rename files.patch | (download) |
phpunit.xml.dist |
4 0 + 4 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/AbstractStreamBufferAcceptanceTest.php |
143 0 + 143 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/AbstractStreamBufferAcceptanceTestCase.php |
143 143 + 0 - 0 !
tests/unit/Swift/Mime/AbstractMimeEntityTest.php |
1092 0 + 1092 - 0 !
tests/unit/Swift/Mime/AbstractMimeEntityTestCase.php |
1092 1092 + 0 - 0 !
tests/unit/Swift/Transport/AbstractSmtpEventSupportTest.php |
558 0 + 558 - 0 !
tests/unit/Swift/Transport/AbstractSmtpEventSupportTestCase.php |
558 558 + 0 - 0 !
tests/unit/Swift/Transport/AbstractSmtpTest.php |
1311 0 + 1311 - 0 !
tests/unit/Swift/Transport/AbstractSmtpTestCase.php |
1311 1311 + 0 - 0 !
9 files changed, 3104 insertions(+), 3108 deletions(-) |
change abstract class suffix to testcase; rename files
|
fix loading of abstract TestCases.patch | (download) |
tests/acceptance/Swift/Transport/StreamBuffer/BasicSocketAcceptanceTest.php |
4 1 + 3 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/ProcessAcceptanceTest.php |
3 1 + 2 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/SslSocketAcceptanceTest.php |
4 1 + 3 - 0 !
tests/acceptance/Swift/Transport/StreamBuffer/TlsSocketAcceptanceTest.php |
4 1 + 3 - 0 !
tests/bootstrap.php |
4 4 + 0 - 0 !
tests/unit/Swift/Mime/AttachmentTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Mime/MimePartTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Mime/SimpleMimeEntityTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Transport/AbstractSmtpEventSupportTestCase.php |
4 1 + 3 - 0 !
tests/unit/Swift/Transport/EsmtpTransportTest.php |
2 1 + 1 - 0 !
tests/unit/Swift/Transport/SendmailTransportTest.php |
2 1 + 1 - 0 !
11 files changed, 14 insertions(+), 19 deletions(-) |
fix loading of abstract testcases
|