Skip to content

Commit 25813ca

Browse files
authored
apply new cs fixes (#14)
1 parent e87a55f commit 25813ca

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/PromiseTest.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Http\Adapter\Guzzle7\Tests;
66

7-
use Exception;
87
use GuzzleHttp\Promise\RejectedPromise;
98
use Http\Adapter\Guzzle7\Promise;
109
use PHPUnit\Framework\TestCase;
@@ -20,10 +19,10 @@ class PromiseTest extends TestCase
2019

2120
public function testNonDomainExceptionIsHandled(): void
2221
{
23-
$this->expectException(Exception::class);
22+
$this->expectException(\Exception::class);
2423

2524
$request = $this->prophesize(RequestInterface::class);
26-
$promise = new RejectedPromise(new Exception());
25+
$promise = new RejectedPromise(new \Exception());
2726

2827
$guzzlePromise = new Promise($promise, $request->reveal());
2928

0 commit comments

Comments
 (0)