Don't "use Exception" when we should rather fully qualify global namespace classes in the code.

CommentFileSizeAuthor
#1 dont_use_exception-1993370-1.patch30.14 KBpancho

Comments

pancho’s picture

Status: Active » Needs review
StatusFileSize
new30.14 KB

Here's the patch covering ~35 occurrences in Core.
In a second step we should also cover other cases of classes and interfaces in global namespace, see Namespaces.

xjm’s picture

Status: Needs review » Closed (duplicate)

Dupe of #1992950: Stop use-ing Exception which I filed looking at the same stuff a day earlier. Do me a favor and review that one? :D

pancho’s picture

Too bad, but certainly I'll be doing a review of yours.