Skip to content

Commit 84a4fa6

Browse files
[Mailer] Undo php-cs-fixer unintended changes
1 parent 7df5693 commit 84a4fa6

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

src/Symfony/Component/Mailer/Bridge/Mailtrap/Tests/Webhook/Fixtures/batch.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
$wh1->setTags(['Password reset']);
99
$wh1->setMetadata(['variable_a' => 'value', 'variable_b' => 'value2']);
1010
$wh1->setReason('[CS01] Message rejected due to local policy');
11-
$wh1->setDate(DateTimeImmutable::createFromFormat('U', 1726358034));
11+
$wh1->setDate(\DateTimeImmutable::createFromFormat('U', 1726358034));
1212

1313
$wh2 = new MailerEngagementEvent(MailerEngagementEvent::CLICK, '00000000-0000-0000-0000-000000000002', json_decode(file_get_contents(str_replace('.php', '.json', __FILE__)), true)['events'][1]);
1414
$wh2->setRecipientEmail('receiver@example.com');
1515
$wh2->setTags(['Password reset']);
1616
$wh2->setMetadata(['variable_a' => 'value', 'variable_b' => 'value2']);
17-
$wh2->setDate(DateTimeImmutable::createFromFormat('U', 1726358034));
17+
$wh2->setDate(\DateTimeImmutable::createFromFormat('U', 1726358034));
1818

1919
return [$wh1, $wh2];

src/Symfony/Component/Mailer/Bridge/Mailtrap/Tests/Webhook/Fixtures/bounce.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
$wh->setTags(['Password reset']);
88
$wh->setMetadata(['variable_a' => 'value', 'variable_b' => 'value2']);
99
$wh->setReason('[CS01] Message rejected due to local policy');
10-
$wh->setDate(DateTimeImmutable::createFromFormat('U', 1726358034));
10+
$wh->setDate(\DateTimeImmutable::createFromFormat('U', 1726358034));
1111

1212
return [$wh];

src/Symfony/Component/Mailer/Bridge/Mailtrap/Tests/Webhook/Fixtures/click.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
$wh->setRecipientEmail('receiver@example.com');
77
$wh->setTags(['Password reset']);
88
$wh->setMetadata(['variable_a' => 'value', 'variable_b' => 'value2']);
9-
$wh->setDate(DateTimeImmutable::createFromFormat('U', 1726358034));
9+
$wh->setDate(\DateTimeImmutable::createFromFormat('U', 1726358034));
1010

1111
return [$wh];

src/Symfony/Component/Mailer/Bridge/Mailtrap/Tests/Webhook/Fixtures/delivery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
$wh->setTags(['Password reset']);
88
$wh->setMetadata(['variable_a' => 'value', 'variable_b' => 'value2']);
99
$wh->setReason('');
10-
$wh->setDate(DateTimeImmutable::createFromFormat('U', 1726358034));
10+
$wh->setDate(\DateTimeImmutable::createFromFormat('U', 1726358034));
1111

1212
return [$wh];

src/Symfony/Component/Mailer/Bridge/Mailtrap/Tests/Webhook/Fixtures/open.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
$wh->setRecipientEmail('receiver@example.com');
77
$wh->setTags(['Password reset']);
88
$wh->setMetadata(['variable_a' => 'value', 'variable_b' => 'value2']);
9-
$wh->setDate(DateTimeImmutable::createFromFormat('U', 1726358034));
9+
$wh->setDate(\DateTimeImmutable::createFromFormat('U', 1726358034));
1010

1111
return [$wh];

src/Symfony/Component/Mailer/Bridge/Mailtrap/Tests/Webhook/Fixtures/reject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
$wh->setTags(['Password reset']);
88
$wh->setMetadata(['variable_a' => 'value', 'variable_b' => 'value2']);
99
$wh->setReason('Recipient in suppression list. Reason: unsubscription');
10-
$wh->setDate(DateTimeImmutable::createFromFormat('U', 1726358034));
10+
$wh->setDate(\DateTimeImmutable::createFromFormat('U', 1726358034));
1111

1212
return [$wh];

src/Symfony/Component/Mailer/Bridge/Mailtrap/Tests/Webhook/Fixtures/soft_bounce.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
$wh->setTags(['Password reset']);
88
$wh->setMetadata(['variable_a' => 'value', 'variable_b' => 'value2']);
99
$wh->setReason('4.7.1 Temporary error, please retry');
10-
$wh->setDate(DateTimeImmutable::createFromFormat('U', 1726358034));
10+
$wh->setDate(\DateTimeImmutable::createFromFormat('U', 1726358034));
1111

1212
return [$wh];

src/Symfony/Component/Mailer/Bridge/Mailtrap/Tests/Webhook/Fixtures/spam.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
$wh->setRecipientEmail('receiver@example.com');
77
$wh->setTags(['Password reset']);
88
$wh->setMetadata(['variable_a' => 'value', 'variable_b' => 'value2']);
9-
$wh->setDate(DateTimeImmutable::createFromFormat('U', 1726358034));
9+
$wh->setDate(\DateTimeImmutable::createFromFormat('U', 1726358034));
1010

1111
return [$wh];

src/Symfony/Component/Mailer/Bridge/Mailtrap/Tests/Webhook/Fixtures/suspension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
$wh->setTags(['Password reset']);
88
$wh->setMetadata(['variable_a' => 'value', 'variable_b' => 'value2']);
99
$wh->setReason('Your account has reached its daily sending limit.');
10-
$wh->setDate(DateTimeImmutable::createFromFormat('U', 1726358034));
10+
$wh->setDate(\DateTimeImmutable::createFromFormat('U', 1726358034));
1111

1212
return [$wh];

src/Symfony/Component/Mailer/Bridge/Mailtrap/Tests/Webhook/Fixtures/unsubscribe.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
$wh->setRecipientEmail('receiver@example.com');
77
$wh->setTags(['Password reset']);
88
$wh->setMetadata(['variable_a' => 'value', 'variable_b' => 'value2']);
9-
$wh->setDate(DateTimeImmutable::createFromFormat('U', 1726358034));
9+
$wh->setDate(\DateTimeImmutable::createFromFormat('U', 1726358034));
1010

1111
return [$wh];

0 commit comments

Comments
 (0)