@@ -120,6 +120,7 @@ public function testNULLMetadataAttrs(): void
120120 ];
121121
122122 $ result = self ::processFilter ($ config , $ request );
123+ /** @psalm-var array $attributes */
123124 $ attributes = $ result ['Attributes ' ];
124125 $ this ->assertArrayHasKey ('cn ' , $ attributes );
125126 $ this ->assertArrayNotHasKey ('mail ' , $ attributes );
@@ -131,6 +132,7 @@ public function testNULLMetadataAttrs(): void
131132 ];
132133
133134 $ result = self ::processFilter ($ config , $ request );
135+ /** @psalm-var array $attributes */
134136 $ attributes = $ result ['Attributes ' ];
135137 $ this ->assertCount (4 , $ attributes );
136138 $ this ->assertArrayHasKey ('eduPersonTargetedID ' , $ attributes );
@@ -205,6 +207,7 @@ public function testDefaultWithAttrs(): void
205207 ];
206208
207209 $ result = self ::processFilter ($ config , self ::$ request );
210+ /** @psalm-var array $attributes */
208211 $ attributes = $ result ['Attributes ' ];
209212 $ this ->assertCount (2 , $ attributes );
210213 $ this ->assertArrayHasKey ('cn ' , $ attributes );
@@ -252,6 +255,7 @@ public function testMatchAttributeValues(): void
252255 ];
253256
254257 $ result = self ::processFilter ($ config , self ::$ request );
258+ /** @psalm-var array $attributes */
255259 $ attributes = $ result ['Attributes ' ];
256260 $ this ->assertCount (1 , $ attributes );
257261 $ this ->assertArrayHasKey ('eduPersonAffiliation ' , $ attributes );
@@ -262,6 +266,7 @@ public function testMatchAttributeValues(): void
262266 ];
263267
264268 $ result = self ::processFilter ($ config , self ::$ request );
269+ /** @psalm-var array $attributes */
265270 $ attributes = $ result ['Attributes ' ];
266271 $ this ->assertCount (1 , $ attributes );
267272 $ this ->assertArrayHasKey ('eduPersonAffiliation ' , $ attributes );
@@ -271,6 +276,7 @@ public function testMatchAttributeValues(): void
271276 'eduPersonAffiliation ' => ['student ' ]
272277 ];
273278 $ result = self ::processFilter ($ config , self ::$ request );
279+ /** @psalm-var array $attributes */
274280 $ attributes = $ result ['Attributes ' ];
275281 $ this ->assertCount (0 , $ attributes );
276282
@@ -330,6 +336,7 @@ public function testMatchAttributeValuesIgnoreCase(): void
330336 ];
331337
332338 $ result = self ::processFilter ($ config , self ::$ request );
339+ /** @psalm-var array $attributes */
333340 $ attributes = $ result ['Attributes ' ];
334341 $ this ->assertCount (1 , $ attributes );
335342 $ this ->assertArrayHasKey ('eduPersonAffiliation ' , $ attributes );
@@ -340,6 +347,7 @@ public function testMatchAttributeValuesIgnoreCase(): void
340347 ];
341348
342349 $ result = self ::processFilter ($ config , self ::$ request );
350+ /** @psalm-var array $attributes */
343351 $ attributes = $ result ['Attributes ' ];
344352 $ this ->assertCount (1 , $ attributes );
345353 $ this ->assertArrayHasKey ('eduPersonAffiliation ' , $ attributes );
@@ -384,6 +392,7 @@ public function testMatchAttributeValuesRegex(): void
384392 ];
385393
386394 $ result = self ::processFilter ($ config , $ state );
395+ /** @psalm-var array $attributes */
387396 $ attributes = $ result ['Attributes ' ];
388397 $ this ->assertCount (1 , $ attributes );
389398 $ this ->assertArrayHasKey ('eduPersonEntitlement ' , $ attributes );
@@ -403,6 +412,7 @@ public function testMatchAttributeValuesRegex(): void
403412 ];
404413
405414 $ result = self ::processFilter ($ config , $ state );
415+ /** @psalm-var array $attributes */
406416 $ attributes = $ result ['Attributes ' ];
407417 $ this ->assertCount (1 , $ attributes );
408418 $ this ->assertArrayHasKey ('eduPersonEntitlement ' , $ attributes );
@@ -422,6 +432,7 @@ public function testMatchAttributeValuesRegex(): void
422432 ];
423433
424434 $ result = self ::processFilter ($ config , $ state );
435+ /** @psalm-var array $attributes */
425436 $ attributes = $ result ['Attributes ' ];
426437 $ this ->assertCount (1 , $ attributes );
427438 $ this ->assertArrayHasKey ('eduPersonEntitlement ' , $ attributes );
@@ -449,6 +460,7 @@ public function testMatchAttributeValuesRegex(): void
449460 ]
450461 ];
451462 $ result = self ::processFilter ($ config , $ state );
463+ /** @psalm-var array $attributes */
452464 $ attributes = $ result ['Attributes ' ];
453465 $ this ->assertCount (1 , $ attributes );
454466 $ this ->assertArrayHasKey ('eduPersonEntitlement ' , $ attributes );
0 commit comments