| Conditions | 3 |
| Paths | 5 |
| Total Lines | 21 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function handle(): void |
||
| 28 | { |
||
| 29 | try { |
||
| 30 | $this->info('Populating steam apps table...'); |
||
| 31 | |||
| 32 | $service = new SteamService; |
||
| 33 | $stats = $service->populateSteamAppsTable(function ($processed, $total) { |
||
| 34 | if ($processed % 1000 === 0) { |
||
| 35 | $this->info("Processed {$processed} of {$total} apps"); |
||
| 36 | } |
||
| 37 | }); |
||
| 38 | |||
| 39 | $this->info(sprintf( |
||
| 40 | 'Added %d new steam app(s), %d skipped, %d errors', |
||
| 41 | $stats['inserted'], |
||
| 42 | $stats['skipped'], |
||
| 43 | $stats['errors'] |
||
| 44 | )); |
||
| 45 | } catch (\Exception $e) { |
||
| 46 | $this->error($e->getMessage()); |
||
| 47 | $this->error('There was an error populating the steam_apps table'); |
||
| 48 | } |
||
| 51 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths