Skip to content

Commit d49a0c2

Browse files
committed
Fix phpstan-issues
1 parent fbc5ecb commit d49a0c2

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

tests/src/MetaLoaderTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ public function testMetaLoader(): void
119119
$this->assertArrayHasKey('https://idp.example.com/idp/shibboleth', $metadata);
120120

121121
$this->assertTrue(
122-
// @phpstan-ignore variable.undefined
123122
empty(array_diff_key($this->expected, $metadata['https://idp.example.com/idp/shibboleth'])),
124123
);
125124
}
@@ -149,7 +148,6 @@ public function testWriteMetadataFiles(): void
149148
// @phpstan-ignore variable.undefined
150149
$this->assertArrayHasKey('https://idp.example.com/idp/shibboleth', $metadata);
151150
$this->assertTrue(
152-
// @phpstan-ignore variable.undefined
153151
empty(array_diff_key($this->expected, $metadata['https://idp.example.com/idp/shibboleth'])),
154152
);
155153
}
@@ -175,9 +173,7 @@ public function testMetaLoaderSetExpiryWhenNotPresent(): void
175173

176174
// @phpstan-ignore variable.undefined
177175
$this->assertArrayHasKey('https://idp.example.com/idp/shibboleth', $metadata);
178-
// @phpstan-ignore variable.undefined
179176
$this->assertArrayHasKey('expire', $metadata['https://idp.example.com/idp/shibboleth']);
180-
// @phpstan-ignore variable.undefined
181177
$this->assertEquals(1000, $metadata['https://idp.example.com/idp/shibboleth']['expire']);
182178
}
183179

@@ -213,7 +209,6 @@ public function testAttributewhitelist1(): void
213209
$this->assertArrayHasKey('https://idp.example.com/idp/shibboleth', $metadata);
214210

215211
$this->assertTrue(
216-
// @phpstan-ignore variable.undefined
217212
empty(array_diff_key($this->expected, $metadata['https://idp.example.com/idp/shibboleth'])),
218213
);
219214
}
@@ -286,7 +281,6 @@ public function testAttributewhitelist3(): void
286281
$this->assertArrayHasKey('https://idp.example.com/idp/shibboleth', $metadata);
287282

288283
$this->assertTrue(
289-
// @phpstan-ignore variable.undefined
290284
empty(array_diff_key($this->expected, $metadata['https://idp.example.com/idp/shibboleth'])),
291285
);
292286
}

0 commit comments

Comments
 (0)