Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ jobs:
run: vendor/bin/simple-phpunit --verbose
env:
SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT: 1
SYMFONY_DEPRECATIONS_HELPER: weak
1 change: 1 addition & 0 deletions tests/acceptance/Swift/Mime/AttachmentAcceptanceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class Swift_Mime_AttachmentAcceptanceTest extends \PHPUnit\Framework\TestCase
private $cache;
private $headers;
private $emailValidator;
private $idGenerator;

protected function setUp()
{
Expand Down
1 change: 1 addition & 0 deletions tests/acceptance/Swift/Mime/EmbeddedFileAcceptanceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class Swift_Mime_EmbeddedFileAcceptanceTest extends \PHPUnit\Framework\TestCase
private $cache;
private $headers;
private $emailValidator;
private $idGenerator;

protected function setUp()
{
Expand Down
1 change: 1 addition & 0 deletions tests/acceptance/Swift/Mime/MimePartAcceptanceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class Swift_Mime_MimePartAcceptanceTest extends \PHPUnit\Framework\TestCase
private $cache;
private $headers;
private $emailValidator;
private $idGenerator;

protected function setUp()
{
Expand Down
6 changes: 4 additions & 2 deletions tests/unit/Swift/CharacterStream/ArrayCharacterStreamTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ public function testByteStreamCanBeImportingUsesValidator()
$stream = new Swift_CharacterStream_ArrayCharacterStream($factory, 'utf-8');

$os->shouldReceive('setReadPointer')
->between(0, 1)
->atMost()
->times(1)
->with(0);
$os->shouldReceive('read')->once()->andReturn(pack('C*', 0xD0));
$os->shouldReceive('read')->once()->andReturn(pack('C*', 0x94));
Expand Down Expand Up @@ -284,7 +285,8 @@ public function testImportingStreamProducesCorrectCharArray()
$stream = new Swift_CharacterStream_ArrayCharacterStream($factory, 'utf-8');

$os->shouldReceive('setReadPointer')
->between(0, 1)
->atMost()
->times(1)
->with(0);
$os->shouldReceive('read')->once()->andReturn(pack('C*', 0xD0));
$os->shouldReceive('read')->once()->andReturn(pack('C*', 0x94));
Expand Down