@@ -62,7 +62,7 @@ |
||
| 62 | 62 | $code = preg_replace('!/\*.*?\*/!s', '', $code); |
| 63 | 63 | |
| 64 | 64 | // count and remove single line comments |
| 65 | - $code = preg_replace_callback('!(\'[^\']*\'|"[^"]*")|((?:#|\/\/).*$)!m', function (array $matches) use (&$cloc) { |
|
| 65 | + $code = preg_replace_callback('!(\'[^\']*\'|"[^"]*")|((?:#|\/\/).*$)!m', function(array $matches) use (&$cloc) { |
|
| 66 | 66 | if (isset($matches[2])) { |
| 67 | 67 | $cloc += 1; |
| 68 | 68 | } |