Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
54 | private function cleanup($content) { |
||
55 | // replacing short open tags by <?php |
||
56 | // if file contains short open tags but short_open_tags='Off' in php.ini bug can occur |
||
57 | // @see https://github.com/Halleck45/PhpMetrics/issues/154 |
||
58 | return preg_replace('!(<\?\s)!', '<?php ', $content); |
||
59 | } |
||
60 | |||
61 | } |