File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 10
10
- name : Checkout code
11
11
uses : actions/checkout@v4
12
12
13
+ - name : Setup PHP
14
+ uses : shivammathur/setup-php@v2
15
+ with :
16
+ php-version : ' 8.2'
17
+
13
18
- name : Install dependencies
14
19
run : composer install --prefer-dist --no-interaction --no-progress
15
20
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ public static function assertPendingBatched(callable $callback)
20
20
$ busFake = app (Dispatcher::class);
21
21
22
22
PHPUnit::assertTrue (
23
- collect ($ busFake ->dispatchedBatches ())->filter (fn ($ batch ) => $ callback (new FluentPendingBatch ($ busFake , $ batch ->jobs )))
23
+ collect ($ busFake ->dispatchedBatches ())
24
+ ->filter (fn ($ batch ) =>$ callback (new FluentPendingBatch ($ busFake , $ batch ->jobs )))
24
25
->isNotEmpty (),
25
26
"The expected batch was not dispatched. "
26
27
);
You can’t perform that action at this time.
0 commit comments