Conditions | 4 |
Paths | 4 |
Total Lines | 18 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
36 | public function addEntry(SplFileInfo $file) |
||
37 | { |
||
38 | switch ($file->getExtension()) { |
||
39 | case 'php': |
||
40 | $this->phpFileList[] = $file; |
||
41 | break; |
||
42 | |||
43 | case 'json': |
||
44 | $this->composerFile = $file; |
||
45 | break; |
||
46 | |||
47 | case 'xml': |
||
48 | $this->xmlFileList[] = $file; |
||
49 | break; |
||
50 | |||
51 | default: |
||
52 | $this->templates[] = $file; |
||
53 | break; |
||
54 | } |
||
89 |