Closed
Description
When using Gii with php 5.5 I'm getting exception that using preg_replace with '/e' modifier is deprecated in php-diff/lib/Diff/Renderer/Html/Array.php:180. Here is a fix:
$line = preg_replace_callback('# ( +)|^ #', function ($m) {
return $this->fixSpaces(isset($m[1]) ? $m[1] : '');
}, $line);
And my question is - should we fix it at phpspec/php-diff or should we fork it and do it ourselves? Sorry for noob question - little experience with github)))