Skip to content

Commit 4b21e54

Browse files
committed
Fix coding standards issues.
Signed-off-by: ADmad <[email protected]>
1 parent 7b2e5f3 commit 4b21e54

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

test/RelativeStreamTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
class RelativeStreamTest extends TestCase
2626
{
2727
use ProphecyTrait;
28-
28+
2929
public function testToString()
3030
{
3131
$decorated = $this->prophesize(Stream::class);

test/UriTest.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -469,18 +469,18 @@ public function testMutationResetsUriStringPropertyInClone($method, $value)
469469
{
470470
$uri = new Uri('http://example.com/path?query=string#fragment');
471471
$string = (string) $uri;
472-
472+
473473
$r = new ReflectionObject($uri);
474474
$p = $r->getProperty('uriString');
475475
$p->setAccessible(true);
476476
$this->assertSame($string, $p->getValue($uri));
477-
477+
478478
$test = $uri->{$method}($value);
479479
$r2 = new ReflectionObject($uri);
480480
$p2 = $r2->getProperty('uriString');
481481
$p2->setAccessible(true);
482482
$this->assertNull($p2->getValue($test));
483-
483+
484484
$this->assertSame($string, $p->getValue($uri));
485485
}
486486

@@ -672,7 +672,10 @@ public function testReservedCharsInPathUnencoded()
672672
->withHost('api.linkedin.com')
673673
->withPath('/v1/people/~:(first-name,last-name,email-address,picture-url)');
674674

675-
$this->assertStringContainsString('/v1/people/~:(first-name,last-name,email-address,picture-url)', (string) $uri);
675+
$this->assertStringContainsString(
676+
'/v1/people/~:(first-name,last-name,email-address,picture-url)',
677+
(string) $uri
678+
);
676679
}
677680

678681
public function testHostIsLowercase()

0 commit comments

Comments
 (0)