| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 40 | public function process(FileInfo $file, Report $report) { |
||
| 41 | |||
| 42 | $items = $this->getInvalidStartTokens($file); |
||
| 43 | |||
| 44 | if (count($items) === 0) { |
||
| 45 | return; |
||
| 46 | } |
||
| 47 | foreach ($items as $lineTokenData) { |
||
| 48 | $report->addError($file, $this, 'Expect at one empty line after php open tag', $lineTokenData->getToken()->getLine()); |
||
| 49 | } |
||
| 50 | |||
| 51 | } |
||
| 52 | |||
| 53 | } |