Make PhpStorm happy by giving the $delta argument an actual float as its default value
Fix whitespace
Improve comparison of DOMNode objects
Merge branch '4.0' into 4.1