Skip to content

Commit e5e6529

Browse files
committed
Fix phpcs
1 parent 6edc115 commit e5e6529

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Controllers/Admin/TestController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ public function trustChainResolution(Request $request): Response
6161
$isFormSubmitted = true;
6262

6363
!empty($leafEntityId = $request->request->getString('leafEntityId')) ||
64-
throw new OidcException('Empty leaf entity ID.');
64+
throw new OidcException('Empty leaf entity ID.');
6565
!empty($rawTrustAnchorIds = $request->request->getString('trustAnchorIds')) ||
66-
throw new OidcException('Empty Trust Anchor IDs.');
66+
throw new OidcException('Empty Trust Anchor IDs.');
6767

6868
/** @var non-empty-array<non-empty-string> $trustAnchorIds */
6969
$trustAnchorIds = $this->helpers->str()->convertTextToArray($rawTrustAnchorIds);
@@ -76,7 +76,7 @@ public function trustChainResolution(Request $request): Response
7676
foreach (EntityTypesEnum::cases() as $entityTypeEnum) {
7777
try {
7878
$metadataEntries[$entityTypeEnum->value] =
79-
$trustChain->getResolvedMetadata($entityTypeEnum);
79+
$trustChain->getResolvedMetadata($entityTypeEnum);
8080
} catch (\Throwable $exception) {
8181
$this->arrayLogger->error(
8282
'Metadata resolving error: ' . $exception->getMessage(),

tests/unit/src/Utils/Debug/ArrayLoggerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ public function testCanLogEntriesBasedOnWeight(): void
5959
$sut->log(LogLevel::DEBUG, 'debug message');
6060

6161
$this->assertCount(9, $sut->getEntries());
62-
6362
}
6463

6564
public function testWontLogLessThanEmergency(): void

0 commit comments

Comments
 (0)