| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 21 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 42 | public function handleCache() | ||
| 43 |     { | ||
| 44 | // Get the compiled files | ||
| 45 |         $compiledFiles = File::glob(base_path('scaffolder-config/cache/*.scf')); | ||
| 46 | |||
| 47 | // Start progress bar | ||
| 48 | $this->output->progressStart(count($compiledFiles)); | ||
| 49 | |||
| 50 | foreach ($compiledFiles as $compiledFile) | ||
| 51 |         { | ||
| 52 | File::delete($compiledFile); | ||
| 53 | |||
| 54 | // Advance progress | ||
| 55 | $this->output->progressAdvance(); | ||
| 56 | } | ||
| 57 | |||
| 58 | // Finish progress | ||
| 59 | $this->output->progressFinish(); | ||
| 60 | |||
| 61 |         $this->info('Cache cleared'); | ||
| 62 | } | ||
| 63 | |||
| 74 | } | 
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.