From 0f99649b969316b8d0bd9c1a45f557d9f957396a Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Wed, 6 Mar 2019 06:38:21 +0100 Subject: [PATCH] Fix CS/WS issues --- tests/unit/Framework/AssertTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/Framework/AssertTest.php b/tests/unit/Framework/AssertTest.php index 8efc80adeef..2218efe8c61 100644 --- a/tests/unit/Framework/AssertTest.php +++ b/tests/unit/Framework/AssertTest.php @@ -968,7 +968,7 @@ public function testAssertObjectHasAttribute(): void public function testAssertObjectHasAttributeNumericAttribute(): void { - $object = new \stdClass(); + $object = new \stdClass; $object->{'2020'} = 'Tokyo'; $this->assertObjectHasAttribute('2020', $object); @@ -980,7 +980,7 @@ public function testAssertObjectHasAttributeNumericAttribute(): void public function testAssertObjectHasAttributeMultiByteAttribute(): void { - $object = new \stdClass(); + $object = new \stdClass; $object->{'東京'} = 2020; $this->assertObjectHasAttribute('東京', $object); @@ -1003,7 +1003,7 @@ public function testAssertObjectNotHasAttribute(): void public function testAssertObjectNotHasAttributeNumericAttribute(): void { - $object = new \stdClass(); + $object = new \stdClass; $object->{'2020'} = 'Tokyo'; $this->assertObjectNotHasAttribute('2018', $object); @@ -1015,7 +1015,7 @@ public function testAssertObjectNotHasAttributeNumericAttribute(): void public function testAssertObjectNotHasAttributeMultiByteAttribute(): void { - $object = new \stdClass(); + $object = new \stdClass; $object->{'東京'} = 2020; $this->assertObjectNotHasAttribute('長野', $object);