Improving bad classes detection (working with ZendFramework base)