Skip to content

Commit 76e6005

Browse files
committed
fix: fix php-cs-fixer tests errors
1 parent 52d1816 commit 76e6005

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

tests/MetadataSystemTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ public function testMetadataFactoryClearCache(): void
151151
// Get metadata again - should create new instance
152152
$metadata2 = $factory->getMetadata(TestStruct::class);
153153
$this->assertInstanceOf(StructMetadata::class, $metadata2);
154-
154+
155155
// Should be different instances after cache clear
156156
$this->assertNotSame($metadata1, $metadata2);
157-
157+
158158
// But should have same content
159159
$this->assertEquals($metadata1->className, $metadata2->className);
160160
$this->assertEquals($metadata1->fields, $metadata2->fields);

tests/RequiredRuleTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use PHPUnit\Framework\TestCase;
88
use tommyknocker\struct\validation\rules\RequiredRule;
9-
use tommyknocker\struct\validation\ValidationResult;
109

1110
final class RequiredRuleTest extends TestCase
1211
{

0 commit comments

Comments
 (0)