File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
- name : check style
1
+ name : Check Style
2
2
3
3
on : [push]
4
4
Original file line number Diff line number Diff line change 1
- name : static analysis
1
+ name : Static Analysis
2
2
3
3
on : [push]
4
4
10
10
- name : Checkout code
11
11
uses : actions/checkout@v4
12
12
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
Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ public static function assertPendingBatched(callable $callback)
20
20
$ busFake = app (Dispatcher::class);
21
21
22
22
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 )))
25
24
->isNotEmpty (),
26
25
"The expected batch was not dispatched. "
27
26
);
You can’t perform that action at this time.
0 commit comments