| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function analyse() |
||
| 18 | { |
||
| 19 | $finder = new Finder(); |
||
| 20 | // find all files in the current directory |
||
| 21 | $finder->in($this->getTargetPath()); |
||
| 22 | |||
| 23 | $finder->files()->name(['composer.json', 'package.json']); |
||
| 24 | |||
| 25 | foreach ($finder as $file) { |
||
| 26 | var_dump($file); |
||
|
|
|||
| 27 | } |
||
| 28 | dd('ProjectsSpider', $finder); |
||
| 29 | } |
||
| 30 | |||
| 32 | } |