#104275Port and improve duplicateExceptionCode integrity check
Description
This integrity check will be ported into the php integrity check suite.
I will not use regex anymore, but ast parsing. This allows for improvements, e.g. find exceptions with code argument not second parameter (happens quite often) or no code at all.