File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 2222 - name : Install composer dependencies
2323 uses : ramsey/composer-install@v3
2424
25+ - name : Show PHPStan diagnose
26+ run : ./vendor/bin/phpstan diagnose
27+
2528 - name : Run PHPStan
2629 run : ./vendor/bin/phpstan --error-format=github
Original file line number Diff line number Diff line change 2828 "nunomaduro/collision" : " ^8.6.1" ,
2929 "orchestra/testbench" : " ^9.11 || ^10.1" ,
3030 "phpstan/extension-installer" : " ^1.4.3" ,
31+ "phpstan/phpstan" : " ^2.1.8" ,
3132 "phpstan/phpstan-deprecation-rules" : " ^2.0.1" ,
3233 "phpstan/phpstan-phpunit" : " ^2.0.4" ,
3334 "phpstan/phpstan-strict-rules" : " ^2.0.3" ,
Original file line number Diff line number Diff line change @@ -49,9 +49,12 @@ public function handle(): int
4949
5050 $ indexConfigKey = $ indexConfig ::class;
5151
52+ /** @var bool $delete */
53+ $ delete = $ this ->option ('delete ' );
54+
5255 Bus::batch ([
5356 [
54- new SetupIndex ($ indexConfigKey , $ this -> option ( ' delete ' ) ),
57+ new SetupIndex ($ indexConfigKey , $ delete ),
5558 new PopulateIndex ($ indexConfigKey ),
5659 ],
5760 ])
You can’t perform that action at this time.
0 commit comments