Skip to content

Commit

Permalink
style(php-cs-fixer): fix coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions authored and github-actions[bot] committed Jan 19, 2025
1 parent a6088ab commit 546d95d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Test/Mock/StreamClientMock.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ final class StreamClientMock implements StreamClient
{
/** @var \SplQueue<string> */
private \SplQueue $queue;
private string $sendBuffer = '';

private string $sendBuffer = '';
private bool $disconnected = false;

private function __construct(
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Traffic/Dispatcher/SmtpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function testDispatchOneMail(): void
{
$stream = StreamClientMock::createFromGenerator($this->mailMe(quit: true));

$this->runInFiber(static function () use ($stream) {
$this->runInFiber(static function () use ($stream): void {
foreach ((new Smtp())->dispatch($stream) as $frame) {
self::assertInstanceOf(SmtpFrame::class, $frame);
self::assertSame('Test email', $frame->message->getSubject());
Expand All @@ -43,7 +43,7 @@ public function testDispatchMultipleMails(): void
$this->mailMe('Test email 3'),
));

$this->runInFiber(static function () use ($stream) {
$this->runInFiber(static function () use ($stream): void {
$i = 1;
foreach ((new Smtp())->dispatch($stream) as $frame) {
self::assertInstanceOf(SmtpFrame::class, $frame);
Expand Down

0 comments on commit 546d95d

Please sign in to comment.