This looks like Parser issue -- happens when namespace contains words that are similar to PHP keywords (
Traits in your case).
Things you can try:
Code | Inspect Code...and run it on this file only.
Other than that -- https://youtrack.jetbrains.com/issue/WI-5015 -- watch this ticket (star/vote/comment) to get notified on proper fix.