Should be `null !== $invalidBehavior` to be compatible with Symfony2 CS.