Skip to content

Commit 87f7f2f

Browse files
committed
wip
1 parent 3987a40 commit 87f7f2f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/php-cs-fixer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: check style
1+
name: Check Style
22

33
on: [push]
44

.github/workflows/phpstan.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: static analysis
1+
name: Static Analysis
22

33
on: [push]
44

@@ -10,7 +10,8 @@ jobs:
1010
- name: Checkout code
1111
uses: actions/checkout@v4
1212

13-
- name: PHPStan
14-
uses: docker://oskarstark/phpstan-ga
15-
with:
16-
args: analyse
13+
- name: Install dependencies
14+
run: composer install --prefer-dist --no-interaction --no-progress
15+
16+
- name: Run PHPStan
17+
run: vendor/bin/phpstan analyse

src/Bus.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ public static function assertPendingBatched(callable $callback)
2020
$busFake = app(Dispatcher::class);
2121

2222
PHPUnit::assertTrue(
23-
collect($busFake->dispatchedBatches())
24-
->filter(fn ($batch) => $callback(new FluentPendingBatch($busFake, $batch->jobs)))
23+
collect($busFake->dispatchedBatches())->filter(fn ($batch) => $callback(new FluentPendingBatch($busFake, $batch->jobs)))
2524
->isNotEmpty(),
2625
"The expected batch was not dispatched."
2726
);

0 commit comments

Comments
 (0)