Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tests: Autofix code style.
  • Loading branch information
drupol committed Jun 14, 2021
1 parent fb641e8 commit 366c79b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tests/static-analysis/when.php
Expand Up @@ -29,25 +29,25 @@ function whenConditionIsFalseT_checkList(CollectionInterface $collection): void
whenConditionIsTrueT_checkList(
Collection::fromIterable(range('a', 'e'))
->when(
static fn() => true,
static fn() => range('a', 'e'),
static fn() => range('a', 'e')
static fn () => true,
static fn () => range('a', 'e'),
static fn () => range('a', 'e')
)
);
);

whenConditionIsTrueT_checkList(
Collection::fromIterable(range('a', 'e'))
->when(
static fn() => true,
static fn() => range('a', 'e')
static fn () => true,
static fn () => range('a', 'e')
)
);
);

whenConditionIsFalseT_checkList(
Collection::fromIterable(range(0, 4))
->when(
static fn() => false,
static fn() => range(0, 4),
static fn() => range(0, 4)
static fn () => false,
static fn () => range(0, 4),
static fn () => range(0, 4)
)
);
);

0 comments on commit 366c79b

Please sign in to comment.