php-diff icon indicating copy to clipboard operation
php-diff copied to clipboard

Renderer/Html/Array: Fix Undefined offset for callback fixSpaces

Open lazyfrosch opened this issue 6 years ago • 3 comments

It avoids breaking the callback when no spaces are to be counted.

This is a fixup for 2900dd97eb540488c0bc188a0f5b2b6224a41ddd (#42)

/cc @petrkotek

lazyfrosch avatar May 09 '18 06:05 lazyfrosch

Is this project dead?

TheWitness avatar Jan 27 '23 19:01 TheWitness

Is this project dead?

If you don't mind a more modern (PHP >= 7.1 is required and PHP >= 7.4 is preferred) rewritten one: https://github.com/jfcherng/php-diff Benifits: https://github.com/chrisboulton/php-diff/issues/53#issuecomment-455359720

jfcherng avatar Jan 28 '23 04:01 jfcherng

I second https://github.com/jfcherng/php-diff as a good and working alternative with a dev who actively maintains it and also implements new features!

gullevek avatar Jan 28 '23 15:01 gullevek