| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 23 | public function parseLine($line) |
||
| 24 | { |
||
| 25 | if($this->isACommentLine($line)) |
||
| 26 | { |
||
| 27 | return true; |
||
| 28 | } |
||
| 29 | |||
| 30 | $file = trim($line); |
||
| 31 | |||
| 32 | $found = false; |
||
| 33 | if($this->parser->getFileSystem()->has($file)) |
||
| 34 | { |
||
| 35 | $found = true; |
||
| 36 | $this->variables = $this->parser->parse($file); |
||
| 37 | } |
||
| 38 | |||
| 39 | $this->filesStatus[$file] = array( |
||
| 54 | } |
Only declaring a single property per statement allows you to later on add doc comments more easily.
It is also recommended by PSR2, so it is a common style that many people expect.