Fix for https://github.com/Automattic/vip-scanner/issues/131

This PR fixes an issue with curly braced variables inside strings which makes the analyzer tool to fall off during class parsing.
where's my PHPStorm automagic?