Added inheritance chain tracking when scanning PHP files