Skip to content

Commit cab9488

Browse files
committed
rework
1 parent e10d090 commit cab9488

File tree

5 files changed

+4
-14
lines changed

5 files changed

+4
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Some of the configuration of the components is static (i.e. stored in parametere
3232
## Development Notes
3333

3434
### Technical debt
35-
* https://github.com/broadway/event-store-dbal is blocks upgrade to `doctrine/dbal:^4.0`
35+
* https://github.com/broadway/event-store-dbal blocks upgrade to `doctrine/dbal:^4.0`
3636

3737
### Adding new events
3838

ci/qa/phpunit-ci

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/Surfnet/Stepup/Tests/Configuration/Value/AllowedSecondFactorListTest.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,7 @@ public function an_allowed_second_factor_list_contains_the_given_second_factors(
102102
new SecondFactorType('yubikey'),
103103
];
104104

105-
$allowedSecondFactorList = AllowedSecondFactorList::ofTypes($secondFactorTypes);
106-
107-
$builtList = [];
108-
foreach ($allowedSecondFactorList as $item) {
109-
$builtList[] = $item;
110-
}
111-
112-
foreach ($builtList as $index => $actualSecondFactorType) {
105+
foreach (iterator_to_array(AllowedSecondFactorList::ofTypes($secondFactorTypes)) as $index => $actualSecondFactorType) {
113106
$this->assertTrue($secondFactorTypes[$index]->equals($actualSecondFactorType));
114107
}
115108
}

src/Surfnet/StepupMiddleware/MiddlewareBundle/Console/Command/BootstrapGsspSecondFactorCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
#[AsCommand(
3232
name: 'middleware:bootstrap:gssp',
3333
description: 'Creates a Generic SAML Second Factor (GSSF) second factor for a specified user'
34-
)
35-
]
34+
)]
3635
final class BootstrapGsspSecondFactorCommand
3736
{
3837
public function __construct(private readonly BootstrapCommandService $bootstrapService, private readonly TransactionHelper $transactionHelper)

src/Surfnet/StepupMiddleware/MiddlewareBundle/Console/Command/MigrateSecondFactorCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
#[AsCommand(
3434
name: 'middleware:migrate:vetted-tokens',
3535
description: 'Migrates the tokens of an identity to a new institution while preserving the old tokens'
36-
)
37-
]
36+
)]
3837
final class MigrateSecondFactorCommand
3938
{
4039
public function __construct(private readonly BootstrapCommandService $bootstrapService, private readonly TransactionHelper $transactionHelper)

0 commit comments

Comments
 (0)