8000 minor #58319 [Notifier] add missing namespace declarations (xabbuh) · symfony/symfony@58b376e · GitHub
[go: up one dir, main page]

Skip to content

Commit 58b376e

Browse files
committed
minor #58319 [Notifier] add missing namespace declarations (xabbuh)
This PR was merged into the 7.1 branch. Discussion ---------- [Notifier] add missing namespace declarations | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 3791e81 add missing namespace declarations
2 parents 2b82b90 + 3791e81 commit 58b376e

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

src/Symfony/Component/Notifier/Bridge/Lox24/Tests/Lox24OptionsTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
* file that was distributed with this source code.
1010
*/
1111

12+
namespace Symfony\Component\Notifier\Bridge\Lox24\Tests;
13+
1214
use PHPUnit\Framework\TestCase;
1315
use Symfony\Component\Notifier\Bridge\Lox24\Lox24Options;
1416
use Symfony\Component\Notifier\Bridge\Lox24\Type;
@@ -21,7 +23,7 @@ class Lox24OptionsTest extends TestCase
2123
{
2224
public function testDeliveryAtWithNotNull()
2325
{
24-
$options = (new Lox24Options())->deliveryAt((new DateTimeImmutable())->setTimestamp(123));
26+
$options = (new Lox24Options())->deliveryAt((new \DateTimeImmutable())->setTimestamp(123));
2527
$this->assertSame(123, $options->toArray()['delivery_at']);
2628
}
2729

src/Symfony/Component/Notifier/Bridge/Lox24/Tests/Lox24TransportFactoryTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
* file that was distributed with this source code.
1010
*/
1111

12+
namespace Symfony\Component\Notifier\Bridge\Lox24\Tests;
13+
1214
use Symfony\Component\Notifier\Bridge\Lox24\Lox24TransportFactory;
1315
use Symfony\Component\Notifier\Test\TransportFactoryTestCase;
1416
use Symfony\Component\Notifier\Transport\TransportFactoryInterface;

src/Symfony/Component/Notifier/Bridge/Lox24/Tests/Lox24TransportTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
* file that was distributed with this source code.
1010
*/
1111

12+
namespace Symfony\Component\Notifier\Bridge\Lox24\Tests;
13+
1214
use Symfony\Component\HttpClient\MockHttpClient;
1315
use Symfony\Component\HttpClient\Response\JsonMockResponse;
1416
use Symfony\Component\HttpClient\Response\MockResponse;
@@ -166,7 +168,7 @@ public function testOptionDeliveryAtGreaterThanZero()
166168
], [], 201, ['uuid' => '123456']);
167169
$transport = new Lox24Transport('user', 'token', 'testFrom', [], $client);
168170

169-
$options = (new Lox24Options())->deliveryAt((new DateTimeImmutable())->setTimestamp(1000000000));
171+
$options = (new Lox24Options())->deliveryAt((new \DateTimeImmutable())->setTimestamp(1000000000));
170172
$message = new SmsMessage('+1411111111', 'test text');
171173
$message->options($options);
172174

0 commit comments

Comments
 (0)
0