Removing this line is the most severe BC break that this patch does: the deprecation logger is now going to receive a more standardized context as second argument (type, file, line, trace, context). So the change is about renaming stack to trace and having type's value set to E_DEPRECATED or E_USER_DEPRECATED.
To me, this special const was a hack, so removing is a good thing (c).